Merge "res_pjsip_endpoint_identifier_ip: Ensure error defaults to 0." into 13

This commit is contained in:
George Joseph
2017-01-25 08:28:33 -06:00
committed by Gerrit Code Review

View File

@@ -247,7 +247,7 @@ static int ip_identify_match_handler(const struct aco_option *opt, struct ast_va
while ((current_string = ast_strip(strsep(&input_string, ",")))) { while ((current_string = ast_strip(strsep(&input_string, ",")))) {
char *mask = strrchr(current_string, '/'); char *mask = strrchr(current_string, '/');
int error; int error = 0;
if (ast_strlen_zero(current_string)) { if (ast_strlen_zero(current_string)) {
continue; continue;