]> jfr.im git - irc/quakenet/snircd.git/blobdiff - ircd/jupe.c
add sbounce from asuka into snircd tree
[irc/quakenet/snircd.git] / ircd / jupe.c
index c36ec614b1f7ee5dc0cc31f5307aa11a947c1ac8..b36cfd57456e008037a4458a33e16e6ac2ca622a 100644 (file)
@@ -20,7 +20,7 @@
  */
 /** @file
  * @brief Implementation of juped server handling functions.
- * @version $Id: jupe.c,v 1.20 2004/12/11 05:13:45 klmitch Exp $
+ * @version $Id: jupe.c,v 1.20.2.1 2006/03/25 03:46:56 entrope Exp $
  */
 #include "config.h"
 
@@ -65,6 +65,7 @@ make_jupe(char *server, char *reason, time_t expire, time_t lastmod,
   ajupe = (struct Jupe*) MyMalloc(sizeof(struct Jupe)); /* alloc memory */
   assert(0 != ajupe);
 
+  memset(ajupe, 0, sizeof(*ajupe));
   DupString(ajupe->ju_server, server); /* copy vital information */
   DupString(ajupe->ju_reason, reason);
   ajupe->ju_expire = expire;