]> granicus.if.org Git - php/commitdiff
Fix crash with e.g. stream_get_meta_data()
authorfoobar <sniper@php.net>
Thu, 25 Aug 2005 12:25:10 +0000 (12:25 +0000)
committerfoobar <sniper@php.net>
Thu, 25 Aug 2005 12:25:10 +0000 (12:25 +0000)
ext/curl/streams.c

index 2081f810cc678ac09fe040274c629443615470d6..7f0c55fb930f44906d625562b54daa46f2f11aee 100644 (file)
@@ -361,7 +361,7 @@ static php_stream_wrapper_ops php_curl_wrapper_ops = {
        NULL, /* stream_stat: curl streams know how to stat themselves */
        NULL, /* stat url */
        NULL, /* opendir */
-       NULL, /* label */
+       "cURL", /* label */
        NULL, /* unlink */
        NULL, /* rename */
        NULL, /* mkdir */