Skip to content

Commit

Permalink
blacklists: fix compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Nov 1, 2022
1 parent a63e371 commit e8939c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blacklists.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ static int mi_bl_get_extra(const mi_params_t *params,

switch (try_get_mi_string_param(params, "proto", &proto_str.s, &proto_str.len)) {
case -1:
proto = PROTO_NONE;
*proto = PROTO_NONE;
break;
case 0:
if (parse_proto((unsigned char *)proto_str.s,
Expand All @@ -868,7 +868,7 @@ static int mi_bl_get_extra(const mi_params_t *params,
}
switch (try_get_mi_int_param(params, "port", &tmp)) {
case -1:
port = 0;
*port = 0;
break;
case 0:
*port = tmp;
Expand Down

0 comments on commit e8939c6

Please sign in to comment.