LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File lopster-log.patch of Package lopster (Project home:zhonghuaren)

--- lopster-1.2.2-old/src/log.c	2008-08-01 10:10:07.000000000 +0200
+++ lopster-1.2.2/src/log.c	2008-08-01 10:11:21.000000000 +0200
@@ -148,7 +148,7 @@
     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) {