Merge pull request #367 from devnexen/example_network_build_fix

Build fix proposal mainly for Android which did not bother
This commit is contained in:
van Hauser
2020-05-18 22:51:15 +02:00
committed by GitHub

View File

@ -233,7 +233,7 @@ int main(int argc, char *argv[]) {
} }
if ((interface = index(argv[1], '%')) != NULL) *interface++ = 0; if ((interface = strchr(argv[1], '%')) != NULL) *interface++ = 0;
if (argc > 3) if (argc > 3)
if ((max_len = atoi(argv[3])) < 0) if ((max_len = atoi(argv[3])) < 0)