summaryrefslogtreecommitdiff
path: root/src/input/http_helper.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-03-03 20:09:11 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-03-03 20:09:11 +0000
commit7cf5530ea749f274bb984e9a9f2c82e426cca645 (patch)
tree62f784baf42e7dbd0cb28865539803759827fa79 /src/input/http_helper.c
parent6ffb59a745a36b7884e6305c7420e57d87dd894d (diff)
downloadxine-lib-7cf5530ea749f274bb984e9a9f2c82e426cca645.tar.gz
xine-lib-7cf5530ea749f274bb984e9a9f2c82e426cca645.tar.bz2
use the _x_abort() macro instead of abort, since it prints some debug info
before aborting CVS patchset: 6211 CVS date: 2004/03/03 20:09:11
Diffstat (limited to 'src/input/http_helper.c')
-rw-r--r--src/input/http_helper.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/input/http_helper.c b/src/input/http_helper.c
index 730deccad..f58b6c8f4 100644
--- a/src/input/http_helper.c
+++ b/src/input/http_helper.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2003 the xine project
+ * Copyright (C) 2000-2004 the xine project
*
* This file is part of xine, a free video player.
*
@@ -19,7 +19,7 @@
*
* URL helper functions
*
- * $Id: http_helper.c,v 1.1 2003/11/26 08:09:58 tmattern Exp $
+ * $Id: http_helper.c,v 1.2 2004/03/03 20:09:12 mroi Exp $
*/
#include "xine_internal.h"
#include "http_helper.h"
@@ -43,13 +43,13 @@ int _x_parse_url (char *url, char **proto, char** host, int *port,
char *end = NULL;
char *strtol_err = NULL;
- if (!url) abort();
- if (!proto) abort();
- if (!user) abort();
- if (!password) abort();
- if (!host) abort();
- if (!port) abort();
- if (!uri) abort();
+ if (!url) _x_abort();
+ if (!proto) _x_abort();
+ if (!user) _x_abort();
+ if (!password) _x_abort();
+ if (!host) _x_abort();
+ if (!port) _x_abort();
+ if (!uri) _x_abort();
*proto = NULL;
*port = 0;