cvs: php4 /ext/session session.c

From: Date: Thu, 18 Oct 2001 09:10:05 +0000
Subject: cvs: php4 /ext/session session.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7851@lists.php.net to get a copy of this message
sterling Thu Oct 18 05:10:05 2001 EDT Modified files: /php4/ext/session session.c Log: fix formatting, this line really was too long ;) Index: php4/ext/session/session.c diff -u php4/ext/session/session.c:1.255 php4/ext/session/session.c:1.256 --- php4/ext/session/session.c:1.255 Thu Oct 18 05:05:16 2001 +++ php4/ext/session/session.c Thu Oct 18 05:10:05 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: session.c,v 1.255 2001/10/18 09:05:16 sterling Exp $ */ +/* $Id: session.c,v 1.256 2001/10/18 09:10:05 sterling Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -617,7 +617,11 @@ 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'; }

« previous php.cvs (#7851) next »