From 05509f322d5b4ce23b6e5918f4d6bc4e48678202 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Fri, 22 Dec 2017 16:54:29 +0100 Subject: [PATCH] core: forward - add note about return code of forward_request() --- src/core/forward.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/forward.c b/src/core/forward.c index dc7e27f5237..d9a778ca71f 100644 --- a/src/core/forward.c +++ b/src/core/forward.c @@ -450,6 +450,8 @@ int check_self_port(unsigned short port, unsigned short proto) * WARNING: don't forget to zero-fill all the unused members (a non-zero * random id along with proto==PROTO_TCP can have bad consequences, same for * a bogus send_socket value) + * + * return: 0 (E_OK) on success; negative (E_*) on failure */ int forward_request(struct sip_msg* msg, str* dst, unsigned short port, struct dest_info* send_info)