Skip to content

Commit

Permalink
mid_registrar: Remove unnecessary check
Browse files Browse the repository at this point in the history
CID #199954

(cherry picked from commit 7a63840)
(cherry picked from commit c34e156)
  • Loading branch information
liviuchircu committed Jul 17, 2020
1 parent ec827ab commit d4751c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mid_registrar/save.c
Expand Up @@ -565,7 +565,7 @@ int dup_req_info(struct sip_msg *req, struct mid_reg_info *mri)

mri->cflags = getb0flags(req);

if (req && parse_allow(req) != -1)
if (parse_allow(req) != -1)
allowed = get_allow_methods(req);
else
allowed = ALL_METHODS;
Expand Down

0 comments on commit d4751c6

Please sign in to comment.