summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-04-19 23:49:36 +0000
committerOlle Johansson <oej@edvina.net>2006-04-19 23:49:36 +0000
commit6149e82b6cf1697573970fa803aa2af269af8304 (patch)
tree5368ed7a322411de8cf21647edfb19c355b69c0f /channels
parentd722e66e0775128f155b7e1215eff3a5ab6ca542 (diff)
Clarify result of sipsock_read
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8cdf3b56d..cfbcb1608 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;