Finished all of the code relating to the "global server info" stuff defined
[citadel.git] / citadel / control.c
index 4dec1f0fadd01266e0b13a3ab0a795c4887f0ecb..0dd60f0137d7cc011b94abc1d58017c49b477526 100644 (file)
@@ -49,6 +49,7 @@ void put_control() {
        fp = fopen("citadel.control", "wb");
        if (fp != NULL) {
                fwrite(&CitControl, sizeof(struct CitControl), 1, fp);
+               fclose(fp);
                }
        }