Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-04-01 22:14:58 -0500
committerDan McGee <dan@archlinux.org>2008-04-01 22:14:58 -0500
commit073bac794d7643fae21dacbe3d5c1585ce347bea (patch)
treecbde848a0a5ab30251ff0c2cf4bf9c9ccea760d0 /lib/libalpm/handle.c
parent0bd6fb3bc28b395d5af099221e2c0401d3be42e2 (diff)
parent0b8abf376f4a34d18aed450642284d9410522667 (diff)
Merge branch 'maint'
Conflicts: configure.ac contrib/Makefile.am
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c1
1 files changed, 1 insertions, 0 deletions
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);