From a97701575863993f8a19f9dd611156b37ffca247 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 16 Mar 2017 10:58:14 +0100 Subject: [PATCH] xhttp: use stateless reply for sending http response --- src/modules/xhttp/xhttp_mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/xhttp/xhttp_mod.c b/src/modules/xhttp/xhttp_mod.c index 2443de1c4d9..05b45c38818 100644 --- a/src/modules/xhttp/xhttp_mod.c +++ b/src/modules/xhttp/xhttp_mod.c @@ -412,7 +412,7 @@ static int xhttp_send_reply(sip_msg_t *msg, int code, str *reason, LM_DBG("response with body: %.*s\n", body->len, body->s); } LM_DBG("sending out response: %d %.*s\n", code, reason->len, reason->s); - if (slb.freply(msg, code, reason) < 0) + if (slb.sreply(msg, code, reason) < 0) { LM_ERR("Error while sending reply\n"); return -1;