debug msg added
authorTomas Mudrunka <tomas@mudrunka.cz>
Wed, 4 Nov 2015 22:44:29 +0000 (23:44 +0100)
committerTomas Mudrunka <tomas@mudrunka.cz>
Wed, 4 Nov 2015 22:44:29 +0000 (23:44 +0100)
answerscripts.c

index ed13b83..3e629db 100755 (executable)
@@ -46,7 +46,10 @@ typedef struct {
 } answerscripts_job;
 
 const void *check_null(const void *pointer) {
-       if(pointer == NULL) return "";
+       if(pointer == NULL) {
+               fprintf(stderr, "NULL pointer detected in answerscripts!\n");
+               return "";
+       }
        return pointer;
 }
 
This page took 0.183172 seconds and 4 git commands to generate.