summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_check.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/xine-utils/xine_check.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/xine-utils/xine_check.c')
-rw-r--r--src/xine-utils/xine_check.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c
index 9840c0552..91fb40186 100644
--- a/src/xine-utils/xine_check.c
+++ b/src/xine-utils/xine_check.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.
*
@@ -79,18 +79,18 @@ static void set_hc_result(xine_health_check_t* hc, int state, char *format, ...)
if (!hc) {
printf ("xine_check: GASP, hc is NULL\n");
- abort();
+ _x_abort();
}
if (!format) {
printf ("xine_check: GASP, format is NULL\n");
- abort();
+ _x_abort();
}
size = strlen(format) + 1;
if (!(buf = xine_xmalloc(size)))
- abort();
+ _x_abort();
while(1) {
va_start(args, format);
@@ -110,7 +110,7 @@ static void set_hc_result(xine_health_check_t* hc, int state, char *format, ...)
if((buf = realloc(buf, size)) == NULL) {
printf("%s() GASP, realloc() failed\n", __XINE_FUNCTION__);
- abort();
+ _x_abort();
}
}