summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@pi.lan>2008-08-23 11:44:07 +0200
committerFelix Fietkau <nbd@pi.lan>2008-08-23 11:44:07 +0200
commit3b7f28bf504d575555aac3c71343976650029042 (patch)
treefb611ec8a7bc19f6901704ce0828e8f99f9a527f
parentedb952a2974c82b76e2bb85d1de58cc461e14601 (diff)
downloaduci-3b7f28bf504d575555aac3c71343976650029042.tar.gz
work around a gcc optimizer bug
-rw-r--r--history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/history.c b/history.c
index 789cd87..a31dbfa 100644
--- a/history.c
+++ b/history.c
@@ -318,7 +318,7 @@ static void uci_filter_history(struct uci_context *ctx, const char *name, const
done:
if (filename)
free(filename);
- uci_close_stream(f);
+ uci_close_stream(pctx->file);
uci_foreach_element_safe(&list, tmp, e) {
uci_free_element(e);
}