Skip to content

Commit

Permalink
Fix "mf_process_maxfwd_header" retcode in case of parsing errors
Browse files Browse the repository at this point in the history
(cherry picked from commit 707982e)
  • Loading branch information
liviuchircu committed Jan 30, 2014
1 parent a36e379 commit d31d332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/maxfwd/maxfwd.c
Expand Up @@ -152,7 +152,7 @@ static int w_process_maxfwd_header(struct sip_msg* msg, char* str1,char* str2)
return 2;
/* error */
case -2:
break;
goto error;
/* found */
case 0:
return -1;
Expand Down

0 comments on commit d31d332

Please sign in to comment.