openbsd-ports/databases/gq/patches/patch-src_state_c
mbalmer acce2e07f8 Update to gq 1.0beta1.
help and ok claudio@
2005-02-28 13:30:07 +00:00

12 lines
277 B
Plaintext

--- src/state.c.orig Mon Nov 3 22:19:54 2003
+++ src/state.c Sat Feb 5 06:50:26 2005
@@ -754,7 +754,7 @@ static void state_valueE(struct parser_c
}
}
- if (n != NULL && v->type != 0) {
+ if (n != NULL && v != NULL && v->type != 0) {
char *ep;
assert(v);