Module: kamailio Branch: master Commit: 05509f322d5b4ce23b6e5918f4d6bc4e48678202 URL: https://github.com/kamailio/kamailio/commit/05509f322d5b4ce23b6e5918f4d6bc4e48678202
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2017-12-22T16:54:29+01:00 core: forward - add note about return code of forward_request() --- Modified: src/core/forward.c --- Diff: https://github.com/kamailio/kamailio/commit/05509f322d5b4ce23b6e5918f4d6bc4e48678202.diff Patch: https://github.com/kamailio/kamailio/commit/05509f322d5b4ce23b6e5918f4d6bc4e48678202.patch --- diff --git a/src/core/forward.c b/src/core/forward.c index dc7e27f523..d9a778ca71 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) _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev