]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- set callback functions in init
authorArvin Schnell <aschnell@suse.de>
Tue, 12 Jun 2012 10:01:59 +0000 (12:01 +0200)
committerArvin Schnell <aschnell@suse.de>
Tue, 12 Jun 2012 10:01:59 +0000 (12:01 +0200)
snapper/Logger.cc

index 3000a591d2e9ec99c7b32ef6dc70d1d5be78a0bf..1680b99a388e5e7a70e910224afad136e36cd384 100644 (file)
@@ -40,7 +40,6 @@ namespace snapper
     string filename = "/var/log/snapper.log";
 
     LogDo log_do = NULL;
-
     LogQuery log_query = NULL;
 
 
@@ -142,6 +141,9 @@ namespace snapper
            }
        }
 
+       log_do = NULL;
+       log_query = NULL;
+
        initGenericErrorDefaultFunc(&xml_error_func_ptr);
     }