summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-23 00:09:59 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-23 00:09:59 +0000
commit233904c7ed17002b434aa9c312976f2d4dfc08d9 (patch)
tree3e9a4745aeb7158226736d2c3cecf204c717efb5 /amiga
parent047569339406f2be1637ae4cee5dd0c9a9c2328f (diff)
downloadnetsurf-233904c7ed17002b434aa9c312976f2d4dfc08d9.tar.gz
netsurf-233904c7ed17002b434aa9c312976f2d4dfc08d9.tar.bz2
fix build faliures from fetch table operation refactor
Diffstat (limited to 'amiga')
-rw-r--r--amiga/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/file.c b/amiga/file.c
index 937fb9052..9500b4084 100644
--- a/amiga/file.c
+++ b/amiga/file.c
@@ -62,7 +62,7 @@ static const ULONG ami_file_asl_mime_hook(struct Hook *mh,
strcpy(fname,fr->fr_Drawer);
AddPart(fname,ap->ap_Info.fib_FileName,1024);
- mt = fetch_mimetype(fname);
+ mt = strdup(fetch_filetype(fname));
lerror = lwc_intern_string(mt, strlen(mt), &lwc_mt);
if (lerror != lwc_error_ok)
return FALSE;