cvs: php4 /ext/msession msession.c
| From: | Mark L. Woodward | Date: | Sat, 29 Sep 2001 00:53:06 +0000 |
| Subject: | cvs: php4 /ext/msession msession.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7609@lists.php.net to get a copy of this message | ||
mlwmohawk Fri Sep 28 20:53:06 2001 EDT
Modified files:
/php4/ext/msession msession.c
Log:
Doh! Return nothing when there is nothing back from a plugin
Index: php4/ext/msession/msession.c
diff -u php4/ext/msession/msession.c:1.4 php4/ext/msession/msession.c:1.5
--- php4/ext/msession/msession.c:1.4 Fri Sep 28 08:41:05 2001
+++ php4/ext/msession/msession.c Fri Sep 28 20:53:06 2001
@@ -972,9 +972,15 @@
DoRequest(g_conn, &g_reqb);
if(g_reqb->req.stat==REQ_OK && g_reqb->req.len)
+ {
retval = safe_estrdup(g_reqb->req.datum);
-
- RETURN_STRING(retval, 0)
+ RETURN_STRING(retval, 0)
+ }
+ else
+ {
+ RETURN_FALSE;
+
+ }
}
PS_OPEN_FUNC(msession)