|
|
@@ -48,7 +48,10 @@
|
|
|
static char THIS_FILE[] = __FILE__;
|
|
|
#endif /*WIN32 && _DEBUG*/
|
|
|
|
|
|
-
|
|
|
+static void xmlrpc_abort(void)
|
|
|
+{
|
|
|
+ abort();
|
|
|
+}
|
|
|
|
|
|
struct clientTransport {
|
|
|
#if defined (HAVE_PTHREADS)
|
|
|
@@ -575,7 +578,7 @@ rpcCreate(xmlrpc_env * const envP,
|
|
|
#if defined(HAVE_PTHREADS)
|
|
|
createRpcThread(envP, rpcP, &rpcP->thread);
|
|
|
#else
|
|
|
- abort();
|
|
|
+ xmlrpc_abort();
|
|
|
#endif
|
|
|
if (!envP->fault_occurred)
|
|
|
rpcP->threadExists = TRUE;
|
|
|
@@ -666,7 +669,7 @@ finishRpc(struct list_head * const headerP,
|
|
|
result = pthread_join(rpcP->thread, &status);
|
|
|
(void)result;
|
|
|
#else
|
|
|
- abort();
|
|
|
+ xmlrpc_abort();
|
|
|
#endif
|
|
|
|
|
|
rpcP->threadExists = FALSE;
|
|
|
@@ -698,7 +701,7 @@ finishAsynch(struct clientTransport * const clientTransportP ATTR_UNUSED,
|
|
|
#if defined(HAVE_PTHREADS)
|
|
|
pthread_mutex_lock(&clientTransportP->listLock);
|
|
|
#else
|
|
|
- abort();
|
|
|
+ xmlrpc_abort();
|
|
|
#endif
|
|
|
|
|
|
list_foreach(&clientTransportP->rpcList, finishRpc, NULL);
|
|
|
@@ -706,7 +709,7 @@ finishAsynch(struct clientTransport * const clientTransportP ATTR_UNUSED,
|
|
|
#if defined(HAVE_PTHREADS)
|
|
|
pthread_mutex_unlock(&clientTransportP->listLock);
|
|
|
#else
|
|
|
- abort();
|
|
|
+ xmlrpc_abort();
|
|
|
#endif
|
|
|
}
|
|
|
|