apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tdono...@apache.org
Subject svn commit: r668312 - /apr/apr-util/branches/1.3.x/dbd/apr_dbd_odbc.c
Date Mon, 16 Jun 2008 21:04:38 GMT
Author: tdonovan
Date: Mon Jun 16 14:04:38 2008
New Revision: 668312

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

Modified:
    apr/apr-util/branches/1.3.x/dbd/apr_dbd_odbc.c

Modified: apr/apr-util/branches/1.3.x/dbd/apr_dbd_odbc.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/dbd/apr_dbd_odbc.c?rev=668312&r1=668311&r2=668312&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/dbd/apr_dbd_odbc.c (original)
+++ apr/apr-util/branches/1.3.x/dbd/apr_dbd_odbc.c Mon Jun 16 14:04:38 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