Finished converting all the comments in webcit-ng to C99 style
[citadel.git] / webcit-ng / util.c
index 5ae5da728e5a073069e1b5eb05ab50b321eec038..17dca336c5a2c67656a8737762a58cee4f8a40a5 100644 (file)
@@ -80,8 +80,9 @@ char *http_datestring(time_t xtime) {
        char offsign;
        int n = 40;
        char *buf = malloc(n);
-       if (!buf)
+       if (!buf) {
                return (NULL);
+       }
 
        localtime_r(&xtime, &t);
 
@@ -89,7 +90,8 @@ char *http_datestring(time_t xtime) {
        offset = t.tm_gmtoff;
        if (offset > 0) {
                offsign = '+';
-       } else {
+       }
+       else {
                offset = 0L - offset;
                offsign = '-';
        }