added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / ircd / jupe.c
index 8cdaa9edad061875052ea4e3e0bacee0c95321c3..243ae626df4fd5072160ef12934b922c15575e6e 100644 (file)
@@ -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;