]> granicus.if.org Git - php/commitdiff
Fix for bug #9449 to stop infinate loop in wordwrap.
authorJames Moore <jmoore@php.net>
Mon, 26 Feb 2001 13:04:00 +0000 (13:04 +0000)
committerJames Moore <jmoore@php.net>
Mon, 26 Feb 2001 13:04:00 +0000 (13:04 +0000)
ext/standard/string.c

index 3cdfe319a0a6dd186536e457d559281e8f6e2373..a2ed4fd857e0493fc448e1b8c7a7e34190d5f0b1 100644 (file)
@@ -463,6 +463,7 @@ PHP_FUNCTION(wordwrap)
                                                                break;
                                                        }
                                                }
+                                               l ++;
                                        }
                                }
                                i += l+1;