summaryrefslogtreecommitdiff
path: root/amiga/filetype.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-30 18:20:07 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-30 18:20:07 +0000
commit2893e30c4e1eebecf84636c35fd1bbc54698b1ed (patch)
tree5cd1c202eea5ea601bb36adadb4461bf23c85f45 /amiga/filetype.c
parentd61444e7032e96c27088b9aebf8a82a18404e3fe (diff)
downloadnetsurf-2893e30c4e1eebecf84636c35fd1bbc54698b1ed.tar.gz
netsurf-2893e30c4e1eebecf84636c35fd1bbc54698b1ed.tar.bz2
Attempt to fix a couple of Enforcer hits
Thanks to Matthey for the debugging
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r--amiga/filetype.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/amiga/filetype.c b/amiga/filetype.c
index b37ebe58d..a3823db9e 100644
--- a/amiga/filetype.c
+++ b/amiga/filetype.c
@@ -297,6 +297,7 @@ static struct ami_mime_entry *ami_mime_entry_locate(lwc_string *search,
{
nnode=(struct nsObject *)GetSucc((struct Node *)node);
mimeentry = node->objstruct;
+ if(mimeentry == NULL) continue;
lerror = lwc_error_ok;