core: typo fix
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Fri, 20 Mar 2009 16:10:37 +0000 (16:10 +0000)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Fri, 20 Mar 2009 16:10:37 +0000 (16:10 +0000)
- ';' after if() (again). Fortunately it didn't have any impact
  since right now nobody returns NONSIP_MSG_ACCEPT from a
  nonsip_msg callback.

receive.c

index e1cabf4..c5eca2a 100644 (file)
--- a/receive.c
+++ b/receive.c
@@ -127,7 +127,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
 
        if (msg->first_line.type==SIP_REQUEST){
                if (!IS_SIP(msg)){
-                       if (nonsip_msg_run_hooks(msg)!=NONSIP_MSG_ACCEPT);
+                       if (nonsip_msg_run_hooks(msg)!=NONSIP_MSG_ACCEPT)
                                goto end; /* drop the message */
                }
                /* sanity checks */