aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/lopster/files/patch-src-log.c
blob: 93312d4ee4f82165537d1b412f1f78025ecb653e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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) {
s='deletions'>-0/+1 * - convert to the new perl5 frameworkaz2013-09-131-2/+1 * - switch simple inline replacement from perl to sedaz2013-07-261-3/+2 * Drop support for perl 5.8.tobez2012-12-181-14/+3 * -remove MD5ohauer2011-07-031-1/+0