aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-07-05 19:34:29 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-07-05 19:34:29 +0000
commit221e78879b4112eb09e56c6a2f31b0ed409275b4 (patch)
treec886a5f2f5b197face28fa0425ed7b481fa1acb1
parent1e079e76f7f2712283b3741c996c361c64719d7f (diff)
downloadperl-URPM-221e78879b4112eb09e56c6a2f31b0ed409275b4.tar
perl-URPM-221e78879b4112eb09e56c6a2f31b0ed409275b4.tar.gz
perl-URPM-221e78879b4112eb09e56c6a2f31b0ed409275b4.tar.bz2
perl-URPM-221e78879b4112eb09e56c6a2f31b0ed409275b4.tar.xz
perl-URPM-221e78879b4112eb09e56c6a2f31b0ed409275b4.zip
consistenly use 'NULL' for null pointer..
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index e2a9c53..1fe6a6b 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3519,7 +3519,7 @@ Db_traverse_tag(db,tag,names,callback)
call_sv(callback, G_DISCARD | G_SCALAR);
SPAGAIN;
- pkg->h = 0; /* avoid using it anymore, in case it has been copied inside callback */
+ pkg->h = NULL; /* avoid using it anymore, in case it has been copied inside callback */
}
++count;
}
@@ -3701,7 +3701,7 @@ Trans_traverse(trans, callback)
PUTBACK;
call_sv(callback, G_DISCARD | G_SCALAR);
SPAGAIN;
- pkg->h = 0; /* avoid using it anymore, in case it has been copied inside callback */
+ pkg->h = NULL; /* avoid using it anymore, in case it has been copied inside callback */
}
++c;
}