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

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Thu Feb 10 20:06:10 2011
New Revision: 14705

Modified:
   DBD-Pg/trunk/dbdimp.c

Log:
Rename confusing var name from svlen to stringlength


Modified: DBD-Pg/trunk/dbdimp.c
==============================================================================
--- DBD-Pg/trunk/dbdimp.c	(original)
+++ DBD-Pg/trunk/dbdimp.c	Thu Feb 10 20:06:10 2011
@@ -2410,7 +2410,7 @@
 	int xy, yz;
 	SV * svitem;
 	char * string;
-	STRLEN svlen;
+	STRLEN stringlength;
 	SV * value;
 
 	if (TSTART) TRC(DBILOGFP, "%sBegin pg_stringify_array\n", THEADER);
@@ -2491,8 +2491,8 @@
 				sv_catpv(value, "\"");
 				if (SvUTF8(svitem))
 					SvUTF8_on(value);
-				string = SvPV(svitem, svlen);
-				while (svlen--) {
+				string = SvPV(svitem, stringlength);
+				while (stringlength--) {
 
 					/* If an embedded quote, throw a backslash before it */
 					if ('\"' == *string)
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.