summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar m0gg2006-12-14 19:39:05 +0000
committerGravatar m0gg2006-12-14 19:39:05 +0000
commitad8096f4aecfd127237004821007d3bed2577935 (patch)
tree5fd476369a4d474dfd8be942eb8873205807256b
parent26502adcbd76cbb3886907f6673ba25be21a7856 (diff)
downloadcsoap-ad8096f4aecfd127237004821007d3bed2577935.tar.gz
csoap-ad8096f4aecfd127237004821007d3bed2577935.tar.bz2
Linux compile fixes
-rw-r--r--libcsoap/soap-addressing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcsoap/soap-addressing.c b/libcsoap/soap-addressing.c
index ebe6e66..6e894f1 100644
--- a/libcsoap/soap-addressing.c
+++ b/libcsoap/soap-addressing.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: soap-addressing.c,v 1.10 2006/12/14 19:36:49 m0gg Exp $
+* $Id: soap-addressing.c,v 1.11 2006/12/14 19:39:05 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2006 Heiko Ronsdorf
@@ -84,7 +84,7 @@ _soap_addressing_uuid_error(uint32_t status)
/* XXX: From FreeBSD 6.2 UUID(3) ??? */
return "The meaning of the code escaped the writers mind";
default:
- return "Unkown error";
+ return "Unkown error during UUID creation";
}
}
@@ -137,7 +137,7 @@ _soap_addressing_generate_id(void)
}
pthread_mutex_lock(&counter_lock);
- sprintf("%s/%i", soap_server_get_name(), counter);
+ sprintf("%s/%li", soap_server_get_name(), counter);
pthread_mutex_unlock(&counter_lock);
return ret;