]> code.citadel.org Git - citadel.git/commitdiff
* serv_network.c: fixed a problem with an uninitialized data structure
authorArt Cancro <ajc@citadel.org>
Sat, 7 Feb 2004 04:22:12 +0000 (04:22 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 7 Feb 2004 04:22:12 +0000 (04:22 +0000)
citadel/ChangeLog
citadel/serv_network.c

index 101a283820d8fe86d1e80b6e44cca22e8de54af1..523bcd0c59b16842e7c9aad20f1d8ea4238a7fa5 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 614.20  2004/02/07 04:22:12  ajc
+ * serv_network.c: fixed a problem with an uninitialized data structure
+
  Revision 614.19  2004/02/06 04:40:50  ajc
  * Suppress posting of messages to Aide> when the loopzapper catches dupes.
  * New command NSYN to sync the entire contents of a room to a specified
@@ -5283,3 +5286,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 2778f76cf6ceff67b50a684b64dade4c29d29620..b71b889ea43b896d644624b60a3a200ebec3aff4 100644 (file)
@@ -853,6 +853,7 @@ int network_sync_to(char *target_node) {
        int num_spooled = 0;
 
        /* Concise syntax because we don't need a full linked-list */
+       memset(&sc, 0, sizeof(struct SpoolControl));
        sc.ignet_push_shares = (struct namelist *)
                mallok(sizeof(struct namelist));
        sc.ignet_push_shares->next = NULL;