]> code.citadel.org Git - citadel.git/blobdiff - citadel/control.c
* lots of warning fixes; builds with -std1 on dec unix
[citadel.git] / citadel / control.c
index 6d63d214ae421ef6866509cdeee55fe232eea1d9..a093728d5ad72d6a87ce2b67cb59926fe2504ee7 100644 (file)
@@ -33,7 +33,7 @@ void get_control(void) {
         * the system functions with all control record fields initialized
         * to zero.
         */
-       bzero(&CitControl, sizeof(struct CitControl));
+       memset(&CitControl, 0, sizeof(struct CitControl));
        fp = fopen("citadel.control", "rb");
        if (fp == NULL) return;