summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcsoap/soap-addressing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcsoap/soap-addressing.c b/libcsoap/soap-addressing.c
index 53ec0b4..aae6e94 100644
--- a/libcsoap/soap-addressing.c
+++ b/libcsoap/soap-addressing.c
@@ -137,7 +137,7 @@ _soap_addressing_generate_id(void)
}
pthread_mutex_lock(&counter_lock);
- sprintf("%s/%li", soap_server_get_name(), counter);
+ sprintf(ret, "%s/%li", soap_server_get_name(), counter);
pthread_mutex_unlock(&counter_lock);
return ret;