diff options
author | Marco Peereboom <marco@conformal.com> | 2011-07-18 16:25:06 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-07-18 16:25:06 +0000 |
commit | 3fc4d365052cbce9c8577dc2a682ba7db43675dc (patch) | |
tree | e1fd9565bb521bcfb32ff4deca5f270f09c2e7cd | |
parent | b00b21496394da0497b371d2483674a7260f1931 (diff) | |
download | xombrero-3fc4d365052cbce9c8577dc2a682ba7db43675dc.tar.gz |
another oops that needs to be fatalish.
From: Fabian Keil <fk@fabiankeil.de>
-rw-r--r-- | xxxterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c index 04df974..b16ff4e 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -1663,8 +1663,10 @@ walk_mime_type(struct settings *s, struct mime_type *m; char *str; - if (s == NULL || cb == NULL) + if (s == NULL || cb == NULL) { show_oops(NULL, "walk_mime_type invalid parameters"); + return; + } TAILQ_FOREACH(m, &mtl, entry) { str = g_strdup_printf("%s%s --> %s", |