Merge "res_pjsip_endpoint_identifier_ip: Ensure error defaults to 0."

This commit is contained in:
George Joseph
2017-01-25 11:37:03 -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, ",")))) {
char *mask = strrchr(current_string, '/');
int error;
int error = 0;
if (ast_strlen_zero(current_string)) {
continue;