Clarify result of sipsock_read
authorOlle Johansson <oej@edvina.net>
Wed, 19 Apr 2006 23:49:36 +0000 (23:49 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 19 Apr 2006 23:49:36 +0000 (23:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21707 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 8cdf3b5..cfbcb16 100644 (file)
@@ -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;