fix segfault in prompter
[mmh] / uip / prompter.c
index 21ec5ce..c715cb7 100644 (file)
@@ -184,7 +184,7 @@ abort:
                case FILEEOF2:
                        fprintf(out, "--------\n");
                        if (qbody) {
-                               if (!*f.value) {
+                               if (f.value == NULL) {
                                        printf("--------\n");
                                        goto has_no_body;
                                }