cvs: /php4 output.c
| From: | Andrey Zmievski | Date: | Sun, 12 Sep 1999 00:32:23 +0000 |
| Subject: | cvs: /php4 output.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4353@lists.php.net to get a copy of this message | ||
andrey Sat Sep 11 20:32:23 1999 EDT
Modified files:
/php4 output.c
Log:
Reverting to previous state.
Index: php4/output.c
diff -u php4/output.c:1.15 php4/output.c:1.16
--- php4/output.c:1.15 Sat Sep 11 20:05:45 1999
+++ php4/output.c Sat Sep 11 20:32:22 1999
@@ -190,10 +190,8 @@
static int zend_ub_body_write(const char *str, uint str_length)
{
-#ifdef TRANS_SID
char *newstr = NULL;
uint new_length;
-#endif
int result = 0;
SLS_FETCH();
@@ -201,23 +199,19 @@
zend_bailout();
}
if (php3_header()) {
-#ifdef TRANS_SID
session_adapt_uris(str, str_length, &newstr, &new_length);
if (newstr) {
str = newstr;
str_length = new_length;
}
-#endif
zend_body_write = zend_ub_body_write_no_header;
result = zend_header_write(str, str_length);
-#ifdef TRANS_SID
if (newstr) {
free(newstr);
}
-#endif
}
return result;