Commit f4575c2e authored by Niels Möller's avatar Niels Möller
Browse files

* src/sexp.c (sexp_assq): Bug fix.

Rev: src/sexp.c:1.23
parent 4fdb596d
...@@ -819,7 +819,7 @@ struct sexp *sexp_assq(struct sexp_iterator *i, int atom) ...@@ -819,7 +819,7 @@ struct sexp *sexp_assq(struct sexp_iterator *i, int atom)
{ {
struct sexp_iterator *inner; struct sexp_iterator *inner;
if (SEXP_ASSOC(i, get_atom_length(atom), get_atom_name(atom), &inner) if (SEXP_ASSOC(i, get_atom_length(atom), get_atom_name(atom), &inner)
&& (SEXP_LEFT(i) == 1)) && (SEXP_LEFT(inner) == 1))
{ {
struct sexp *value = SEXP_GET(inner); struct sexp *value = SEXP_GET(inner);
assert(value); assert(value);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment