apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tdono...@apache.org
Subject svn commit: r668310 - /apr/apr-util/trunk/dbd/apr_dbd_odbc.c
Date Mon, 16 Jun 2008 21:03:08 GMT
Author: tdonovan
Date: Mon Jun 16 14:03:07 2008
New Revision: 668310

URL: http://svn.apache.org/viewvc?rev=668310&view=rev
Log:
param parsing error - only count names, not vals

Modified:
    apr/apr-util/trunk/dbd/apr_dbd_odbc.c

Modified: apr/apr-util/trunk/dbd/apr_dbd_odbc.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/dbd/apr_dbd_odbc.c?rev=668310&r1=668309&r2=668310&view=diff
==============================================================================
--- apr/apr-util/trunk/dbd/apr_dbd_odbc.c (original)
+++ apr/apr-util/trunk/dbd/apr_dbd_odbc.c Mon Jun 16 14:03:07 2008
@@ -812,8 +812,7 @@
         val[nparams] = apr_strtok(NULL, seps, &last);
         seps = DEFAULTSEPS;
         name[++nparams] = apr_strtok(NULL, seps, &last);
-    } while ( nparams <= MAX_PARAMS && name[nparams] != NULL
-              && val[nparams] != NULL);
+    } while ( nparams <= MAX_PARAMS && name[nparams] != NULL);
 
     for(j=i=0 ; i< nparams ; i++)
     {   if      (!apr_strnatcasecmp(name[i], "CONNECT"))



Mime
View raw message