From ad8096f4aecfd127237004821007d3bed2577935 Mon Sep 17 00:00:00 2001 From: m0gg Date: Thu, 14 Dec 2006 19:39:05 +0000 Subject: Linux compile fixes --- libcsoap/soap-addressing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcsoap') 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; -- cgit v1.1-32-gdbae