]> andersk Git - moira.git/blobdiff - lib/hash.c
Now rcp'ing with encryption, and actually checking that backup succeeded.
[moira.git] / lib / hash.c
index d09615c1543e56915e00db057b1b241d20b5dd7c..e34e289f0ece9464103987abf83d19fe7570427d 100644 (file)
@@ -10,6 +10,7 @@
 #include <mit-copyright.h>
 #include <ctype.h>
 #include <moira.h>
+#include <string.h>
 
 extern char *malloc();
 
@@ -32,7 +33,7 @@ int size;
        free(h);
        return((struct hash *) NULL);
     }
-    bzero(h->data, size * sizeof(char *));
+    memset(h->data, 0, size * sizeof(char *));
     return(h);
 }
 
This page took 0.039776 seconds and 4 git commands to generate.