index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-04-01 22:14:58 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-04-01 22:14:58 -0500 |
commit | 073bac794d7643fae21dacbe3d5c1585ce347bea (patch) | |
tree | cbde848a0a5ab30251ff0c2cf4bf9c9ccea760d0 /lib/libalpm/handle.c | |
parent | 0bd6fb3bc28b395d5af099221e2c0401d3be42e2 (diff) | |
parent | 0b8abf376f4a34d18aed450642284d9410522667 (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 1 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 899ac88c..e9df0aa7 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -426,6 +426,7 @@ int SYMEXPORT alpm_option_set_logfile(const char *logfile) } if(handle->logstream) { fclose(handle->logstream); + handle->logstream = NULL; } _alpm_log(PM_LOG_DEBUG, "option 'logfile' = %s\n", handle->logfile); return(0); |