Skip to content

Commit

Permalink
Make geoip2_get_field() function declaration match prototype.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 24, 2022
1 parent 5d65e00 commit 6aad390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mmgeoip/geoip2.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ char *check_short_fields(char *field)
return NULL;
}

int geoip2_get_field(lookup_res_t ip_data, char *field, char *buf)
int geoip2_get_field(lookup_res_t ip_data, char *field, char buf[256])
{
char *path_arr[MAX_PATH_DEPTH+1];
int i = 0;
Expand Down

0 comments on commit 6aad390

Please sign in to comment.