pollita         Thu Jun 17 20:44:37 2004 EDT

  Modified files:              
    /php-src/ext/standard       url.c 
  Log:
  String lengths should never be char pointers.
  
http://cvs.php.net/diff.php/php-src/ext/standard/url.c?r1=1.80&r2=1.81&ty=u
Index: php-src/ext/standard/url.c
diff -u php-src/ext/standard/url.c:1.80 php-src/ext/standard/url.c:1.81
--- php-src/ext/standard/url.c:1.80     Fri May 28 07:33:23 2004
+++ php-src/ext/standard/url.c  Thu Jun 17 20:44:37 2004
@@ -15,7 +15,7 @@
    | Author: Jim Winstead <[EMAIL PROTECTED]>                                  |
    +----------------------------------------------------------------------+
  */
-/* $Id: url.c,v 1.80 2004/05/28 11:33:23 sesser Exp $ */
+/* $Id: url.c,v 1.81 2004/06/18 00:44:37 pollita Exp $ */
 
 #include <stdlib.h>
 #include <string.h>
@@ -591,7 +591,8 @@
    fetches all the headers sent by the server in response to a HTTP request */
 PHP_FUNCTION(get_headers)
 {
-       char *url, *url_len;
+       char *url;
+       int url_len;
        php_stream_context *context = NULL;
        php_stream *stream;
        zval **prev_val, **hdr = NULL;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to