cvs: php4 /ext/ircg ircg.c
| From: | Sascha Schumann | Date: | Sat, 10 Mar 2001 23:38:07 +0000 |
| Subject: | cvs: php4 /ext/ircg ircg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4474@lists.php.net to get a copy of this message | ||
sas Sat Mar 10 15:38:07 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Increment the pointer and evaluate the next character after
recognizing a modifier.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.51 php4/ext/ircg/ircg.c:1.52
--- php4/ext/ircg/ircg.c:1.51 Sat Mar 10 15:15:21 2001
+++ php4/ext/ircg/ircg.c Sat Mar 10 15:38:06 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.51 2001/03/10 23:15:21 sas Exp $ */
+/* $Id: ircg.c,v 1.52 2001/03/10 23:38:06 sas Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -234,7 +234,6 @@
if (len > 0)
smart_str_appendl_ex(result, p, len, 1);
- c = q[1];
mod_encode = 0;
@@ -250,9 +249,12 @@
}
again:
+ c = q[1];
+
switch (c) {
case '1':
mod_encode = 1;
+ q++;
goto again;
case 'c':
IRCG_APPEND(channel);