summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-11-21 15:16:14 -0600
committerSteve Peters <steve@fisharerojo.org>2005-11-22 03:41:17 +0000
commitaf68e75656cbfd664098f1282fc660db7e34b9ca (patch)
treec69467782e8fa06dc15e95d83bf567e798e552c4 /pp_ctl.c
parent1606b0c75b28d460075c09d3a6b2203fda3d6db3 (diff)
downloadperl-af68e75656cbfd664098f1282fc660db7e34b9ca.tar.gz
ff_chop.patch redux
Message-ID: <20051122031614.GB19424@petdance.com> p4raw-id: //depot/perl@26188
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 40928caec5..a1f111738b 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -726,7 +726,7 @@ PP(pp_formline)
{
const char *s = chophere;
if (chopspace) {
- while (*s && isSPACE(*s))
+ while (isSPACE(*s))
s++;
}
sv_chop(sv,s);
@@ -864,7 +864,7 @@ PP(pp_formline)
const char *s = chophere;
const char *send = item + len;
if (chopspace) {
- while (*s && isSPACE(*s) && s < send)
+ while (isSPACE(*s) && (s < send))
s++;
}
if (s < send) {