|
@@ -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 (msg->first_line.type==SIP_REQUEST){
|
|
if (!IS_SIP(msg)){
|
|
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 */
|
|
goto end; /* drop the message */
|
|
}
|
|
}
|
|
/* sanity checks */
|
|
/* sanity checks */
|