From 6149e82b6cf1697573970fa803aa2af269af8304 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Wed, 19 Apr 2006 23:49:36 +0000 Subject: [PATCH] Clarify result of sipsock_read git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21707 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8cdf3b56db..cfbcb16086 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11867,7 +11867,9 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc } /*! \brief Read data from SIP socket -\note Successful messages is connected to SIP call and forwarded to handle_request() */ +\return 1 on error, 0 on success +\note Successful messages is connected to SIP call and forwarded to handle_request() +*/ static int sipsock_read(int *id, int fd, short events, void *ignore) { struct sip_request req;