]> 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 9a95108bfeeadca0b3b1a937a02ab475e060cb9c..3da13e50692783c749f165c9d6fe791b0ee64edc 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);
                                }
                        }