]> granicus.if.org Git - php/commitdiff
- Oops committed old version of the patch in r324020. Fixed. See bug #61253.
authorGustavo André dos Santos Lopes <cataphract@php.net>
Thu, 8 Mar 2012 12:39:48 +0000 (12:39 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Thu, 8 Mar 2012 12:39:48 +0000 (12:39 +0000)
main/streams/streams.c

index 3f2826008aa9394bc88ff3d5f0c76066b39a54a9..390db1d1ce59b82b09197fd0d7ab93b03d16f5df 100755 (executable)
@@ -210,7 +210,7 @@ void php_stream_display_wrapper_errors(php_stream_wrapper *wrapper, const char *
                                        err_buf_p = zend_llist_get_next_ex(err_list, &pos), i++) {
                                strcat(msg, *err_buf_p);
                                if (i < count - 1) {
-                                       l += brlen;
+                                       strcat(msg, br);
                                }
                        }