diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-07-05 19:34:29 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-07-05 19:34:29 +0000 |
commit | 221e78879b4112eb09e56c6a2f31b0ed409275b4 (patch) | |
tree | c886a5f2f5b197face28fa0425ed7b481fa1acb1 | |
parent | 1e079e76f7f2712283b3741c996c361c64719d7f (diff) | |
download | perl-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.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |