This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/4969 msc_vlr_tests: fix test nr arg: clear errno before strtol() Change-Id: I8e9376f20a44f6348bcb85f0ff27a429dc90e1b8 --- M tests/msc_vlr/msc_vlr_tests.c 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/69/4969/1 diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c index 7cd869b..0608e84 100644 --- a/tests/msc_vlr/msc_vlr_tests.c +++ b/tests/msc_vlr/msc_vlr_tests.c @@ -800,6 +800,7 @@ int arg; long int nr; for (arg = optind; arg < argc; arg++) { + errno = 0; nr = strtol(argv[arg], NULL, 10); if (errno) { fprintf(stderr, "Invalid argument: %s\n", -- To view, visit https://gerrit.osmocom.org/4969 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8e9376f20a44f6348bcb85f0ff27a429dc90e1b8 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>