projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check return value of m_getfld2 befor using the field
[mmh]
/
uip
/
prompter.c
diff --git
a/uip/prompter.c
b/uip/prompter.c
index
24f2d9f
..
c7eb957
100644
(file)
--- a/
uip/prompter.c
+++ b/
uip/prompter.c
@@
-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;
}