rasmus          Sun Oct  6 12:37:33 2002 EDT

  Modified files:              
    /php4/ext/mbstring  php_mbregex.c 
  Log:
  Fix build
  
  
Index: php4/ext/mbstring/php_mbregex.c
diff -u php4/ext/mbstring/php_mbregex.c:1.8 php4/ext/mbstring/php_mbregex.c:1.9
--- php4/ext/mbstring/php_mbregex.c:1.8 Sun Oct  6 11:31:52 2002
+++ php4/ext/mbstring/php_mbregex.c     Sun Oct  6 12:37:33 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_mbregex.c,v 1.8 2002/10/06 15:31:52 moriyoshi Exp $ */
+/* $Id: php_mbregex.c,v 1.9 2002/10/06 16:37:33 rasmus Exp $ */
 
 
 #ifdef HAVE_CONFIG_H
@@ -225,7 +225,7 @@
        if (ZEND_NUM_ARGS() == 0) {
                const char *retval = php_mbregex_mbctype2name(MBSTRG(current_mbctype));
                if ( retval != NULL ) {
-                       RETVAL_STRING((char *)retval);
+                       RETVAL_STRING((char *)retval, 1);
                } else {
                        RETVAL_FALSE;
                }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to