[svn:DBD-Pg] r13129 - DBD-Pg/trunk

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Mon Jul 27 14:57:32 2009
New Revision: 13129

Modified:
   DBD-Pg/trunk/quote.c

Log:
Pointer typo.


Modified: DBD-Pg/trunk/quote.c
==============================================================================
--- DBD-Pg/trunk/quote.c	(original)
+++ DBD-Pg/trunk/quote.c	Mon Jul 27 14:57:32 2009
@@ -313,7 +313,7 @@
 	while (len > 0 && *string != '\0') {
 		len--;
 		if (isdigit(*string) || ' ' == *string || '+' == *string || '-' == *string) {
-			*string++;
+			string++;
 			continue;			
 		}
 		croak("Invalid integer");
@@ -347,7 +347,7 @@
 				|| '-' == *string
 				|| 'e' == *string
 				|| 'E' == *string) {
-				*string++;
+				string++;
 				continue;			
 			}
 			croak("Invalid float");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.