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)