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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/16455 )
Change subject: msc: exit(2) on unsupported positional arguments on command line
......................................................................
msc: exit(2) on unsupported positional arguments on command line
Change-Id: Iad858974e9d97ae14f3da6dc21267aafafcda0ef
---
M src/osmo-msc/msc_main.c
1 file changed, 5 insertions(+), 0 deletions(-)
  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/55/16455/1
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index e7570cd..cffdaef 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -198,6 +198,11 @@
 			exit(-1);
 		}
 	}
+
+	if (argc > optind) {
+		fprintf(stderr, "Unsupported positional arguments on command line\n");
+		exit(2);
+	}
 }
 
 struct gsm_network *msc_network_alloc(void *ctx,
-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/16455
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Iad858974e9d97ae14f3da6dc21267aafafcda0ef
Gerrit-Change-Number: 16455
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191203/560800b0/attachment.htm>