summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-12-03 17:02:43 +0000
committerNicholas Clark <nick@ccl4.org>2004-12-03 17:02:43 +0000
commitef97f5b30528a5e4790713361751c0a1bbd94c48 (patch)
tree5fe5fc26b6b06c3a05600fd40d1fe1c7637bdc23 /perl.c
parentad17a1aecbe385e7499216434d1d2ef3ec21daba (diff)
downloadperl-ef97f5b30528a5e4790713361751c0a1bbd94c48.tar.gz
Fix a typo in an assert(). It helps to compile with -DDEBUGGING
p4raw-id: //depot/perl@23603
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index d0a1401a67..e10fe78903 100644
--- a/perl.c
+++ b/perl.c
@@ -4413,7 +4413,7 @@ S_incpush(pTHX_ char *p, int addsubdirs, int addoldvers, int usesep)
av_push(GvAVn(PL_incgv), libdir);
}
if (subdir) {
- assert (SvREFCNT(subdr) == 1);
+ assert (SvREFCNT(subdir) == 1);
SvREFCNT_dec(subdir);
}
}