diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -823,7 +823,7 @@ pack_header(URPM__Package pkg) { } if (!(pkg->flag & FLAG_NO_HEADER_FREE)) pkg->h =headerFree(pkg->h); - pkg->h = 0; + pkg->h = NULL; } } @@ -2782,7 +2782,7 @@ Db_traverse(db,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; } @@ -2836,7 +2836,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; } @@ -2881,7 +2881,7 @@ Db_traverse_tag_find(db,tag,name,callback) int count = call_sv(callback, 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 */ if (count == 1 && POPi) { found = 1; @@ -3027,7 +3027,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; } |