tony2001                Thu Nov 29 21:23:59 2007 UTC

  Modified files:              
    /php-src/ext/pgsql  pgsql.c 
  Log:
  fix build
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.376&r2=1.377&diff_format=u
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.376 php-src/ext/pgsql/pgsql.c:1.377
--- php-src/ext/pgsql/pgsql.c:1.376     Thu Nov 22 00:20:40 2007
+++ php-src/ext/pgsql/pgsql.c   Thu Nov 29 21:23:59 2007
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
  */
  
-/* $Id: pgsql.c,v 1.376 2007/11/22 00:20:40 iliaa Exp $ */
+/* $Id: pgsql.c,v 1.377 2007/11/29 21:23:59 tony2001 Exp $ */
 
 #include <stdlib.h>
 
@@ -5739,6 +5739,9 @@
                        } else {
                                char *element = PQgetvalue(pg_result, pg_row, 
i);
                                if (element) {
+                                       char *data;
+                                       size_t data_len;
+
                                        data_len = strlen(element);
                                        data = safe_estrndup(element, data_len);
 

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

Reply via email to