]> granicus.if.org Git - php/commitdiff
fix formatting, this line really was too long ;)
authorSterling Hughes <sterling@php.net>
Thu, 18 Oct 2001 09:10:05 +0000 (09:10 +0000)
committerSterling Hughes <sterling@php.net>
Thu, 18 Oct 2001 09:10:05 +0000 (09:10 +0000)
ext/session/session.c

index 0ab447f5d5d48f88bb6e14647a050b1271717882..f5de226d421764d175e29f1a83408b2b9b5aced0 100644 (file)
@@ -617,7 +617,11 @@ static void strcpy_gmt(char *ubuf, time_t *when)
        php_gmtime_r(when, &tm);
        
        /* we know all components, thus it is safe to use sprintf */
-       n = sprintf(buf, "%s, %d %s %d %02d:%02d:%02d GMT", week_days[tm.tm_wday], tm.tm_mday, month_names[tm.tm_mon], tm.tm_year + 1900, tm.tm_hour, tm.tm_min, tm.tm_sec);
+       n = sprintf(buf, "%s, %d %s %d %02d:%02d:%02d GMT", 
+                               week_days[tm.tm_wday], tm.tm_mday, 
+                               month_names[tm.tm_mon], tm.tm_year + 1900, 
+                               tm.tm_hour, tm.tm_min, 
+                               tm.tm_sec);
        memcpy(ubuf, buf, n);
        ubuf[n] = '\0';
 }