diff options
Diffstat (limited to 'net-p2p/lopster/files/patch-src-log.c')
-rw-r--r-- | net-p2p/lopster/files/patch-src-log.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-p2p/lopster/files/patch-src-log.c b/net-p2p/lopster/files/patch-src-log.c new file mode 100644 index 000000000000..93312d4ee4f8 --- /dev/null +++ b/net-p2p/lopster/files/patch-src-log.c @@ -0,0 +1,12 @@ +--- src/log.c.orig Mon Oct 15 07:33:46 2007 ++++ src/log.c Mon Oct 15 07:33:46 2007 +@@ -148,7 +148,8 @@ + g_free(log); + } + g_list_free(net?net->logs:other_logs); +- net?net->logs:other_logs = NULL; ++ if (net) net->logs = NULL; ++ else other_logs = NULL; + } + + void log_file_destroy(log_file_t* lf) { |