Skip to content

Commit

Permalink
Fixed return code in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-iancu committed Mar 20, 2014
1 parent a4cdbcb commit 8ad0901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/registrar/save.c
Expand Up @@ -876,7 +876,7 @@ int save_aux(struct sip_msg* _m, str* forced_binding, char* _d, char* _f, char*

if (forced_c) free_contacts(&forced_c);

return 0;
return -2;

return_minus_one:
if (forced_c) free_contacts(&forced_c);
Expand Down

0 comments on commit 8ad0901

Please sign in to comment.