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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]