summaryrefslogtreecommitdiff
path: root/amiga/launch.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-05-08 00:16:50 +0100
committerVincent Sanders <vince@kyllikki.org>2014-05-08 00:16:50 +0100
commit096bd47ab0018e7b9c3affd58b6134463e2aaa65 (patch)
treeb3975e107568ee9d005e19a5f998c29c55ef1e2f /amiga/launch.c
parent781d42e33c6cc7d1660eb535c45f70a88b71579e (diff)
downloadnetsurf-096bd47ab0018e7b9c3affd58b6134463e2aaa65.tar.gz
netsurf-096bd47ab0018e7b9c3affd58b6134463e2aaa65.tar.bz2
refactor url utility functions to use standard nserror codes and have appropriate documentation.
Diffstat (limited to 'amiga/launch.c')
-rwxr-xr-xamiga/launch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/launch.c b/amiga/launch.c
index 1ccc52026..84d362fa1 100755
--- a/amiga/launch.c
+++ b/amiga/launch.c
@@ -49,7 +49,7 @@ struct ami_protocol *ami_openurl_add_protocol(const char *url)
struct ami_protocol *ami_p =
(struct ami_protocol *)AllocVecTagList(sizeof(struct ami_protocol), NULL);
- if(url_scheme(url, &ami_p->protocol) != URL_FUNC_OK)
+ if(url_scheme(url, &ami_p->protocol) != NSERROR_OK)
{
FreeVec(ami_p);
return NULL;