diff options
author | jbj <devnull@localhost> | 2001-11-12 20:51:05 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-11-12 20:51:05 +0000 |
commit | 21a35690b3d6e79206ae62724cb8fbd538be57cb (patch) | |
tree | 8499954cab7053994d4b5dcd176d40b8caa76eb1 /rpmio/url.c | |
parent | 55ffccbddecade7b99992900cec5dd2aef3b059c (diff) | |
download | librpm-tizen-21a35690b3d6e79206ae62724cb8fbd538be57cb.tar.gz librpm-tizen-21a35690b3d6e79206ae62724cb8fbd538be57cb.tar.bz2 librpm-tizen-21a35690b3d6e79206ae62724cb8fbd538be57cb.zip |
- commit to using rpmDepSet and TFI_t, not header.
- lclint rpmio fiddles.
CVS patchset: 5177
CVS date: 2001/11/12 20:51:05
Diffstat (limited to 'rpmio/url.c')
-rw-r--r-- | rpmio/url.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rpmio/url.c b/rpmio/url.c index fb280d026..cadfee67a 100644 --- a/rpmio/url.c +++ b/rpmio/url.c @@ -93,6 +93,8 @@ urlinfo XurlNew(const char *msg, const char *file, unsigned line) urlinfo XurlFree(urlinfo u, const char *msg, const char *file, unsigned line) { + int xx; + URLSANE(u); URLDBGREFS(0, (stderr, "--> url %p -- %d %s at %s:%u\n", u, u->nrefs, msg, file, line)); if (--u->nrefs > 0) @@ -105,7 +107,7 @@ URLDBGREFS(0, (stderr, "--> url %p -- %d %s at %s:%u\n", u, u->nrefs, msg, file, fdPush(u->ctrl, fpio, fp, -1); /* Push fpio onto stack */ (void) Fclose(u->ctrl); } else if (fdio->_fileno(u->ctrl) >= 0) - fdio->close(u->ctrl); + xx = fdio->close(u->ctrl); /*@=branchstate@*/ #else (void) Fclose(u->ctrl); @@ -126,7 +128,7 @@ URLDBGREFS(0, (stderr, "--> url %p -- %d %s at %s:%u\n", u, u->nrefs, msg, file, fdPush(u->data, fpio, fp, -1); /* Push fpio onto stack */ (void) Fclose(u->data); } else if (fdio->_fileno(u->data) >= 0) - fdio->close(u->data); + xx = fdio->close(u->data); #else (void) Fclose(u->ctrl); #endif |