]> 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 28f3e251cdc5eccc0233ce672a7b0d560338791f..edcf0fb025017107b011a282ae1ab61a98e2bdf4 100755 (executable)
@@ -201,7 +201,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);
                                }
                        }