diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-02 03:21:50 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-02 03:21:50 +0800 |
commit | 7871ce59d70193f230c87def8d23f5ab03b59945 (patch) | |
tree | f010d35ea70d4217e8bc219830a6d512e4587c10 /e-util | |
parent | cc8422198adc633e3380a1b87b2d2ac64080bea4 (diff) | |
download | gsoc2013-evolution-7871ce59d70193f230c87def8d23f5ab03b59945.tar gsoc2013-evolution-7871ce59d70193f230c87def8d23f5ab03b59945.tar.gz gsoc2013-evolution-7871ce59d70193f230c87def8d23f5ab03b59945.tar.bz2 gsoc2013-evolution-7871ce59d70193f230c87def8d23f5ab03b59945.tar.lz gsoc2013-evolution-7871ce59d70193f230c87def8d23f5ab03b59945.tar.xz gsoc2013-evolution-7871ce59d70193f230c87def8d23f5ab03b59945.tar.zst gsoc2013-evolution-7871ce59d70193f230c87def8d23f5ab03b59945.zip |
g_return_val_if_fail to prevent a crash.
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* e-sexp.c (e_sexp_term_eval): g_return_val_if_fail to prevent a crash.
svn path=/trunk/; revision=3337
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-sexp.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index ba3c5d6a1e..450b9c45b1 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2000-06-01 Christopher James Lahey <clahey@helixcode.com> + + * e-sexp.c (e_sexp_term_eval): g_return_val_if_fail to prevent a crash. + 2000-05-30 Not Zed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_encode_bool): Utility function to build a bool diff --git a/e-util/e-sexp.c b/e-util/e-sexp.c index 22727f22c2..b812edf8ca 100644 --- a/e-util/e-sexp.c +++ b/e-util/e-sexp.c @@ -491,6 +491,8 @@ e_sexp_term_eval(struct _ESExp *f, struct _ESExpTerm *t) struct _ESExpResult *r, *r1; int i; + g_return_val_if_fail(t != NULL, NULL); + r(printf("eval term :\n")); r(parse_dump_term(t, 0)); |