From 9463903d3a781a560c7b4526d27c3aa84a965e8d Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Sun, 1 May 2016 12:56:22 +0200 Subject: [PATCH] typo fix --- common/utils/T/tracer/local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/utils/T/tracer/local.c b/common/utils/T/tracer/local.c index bc205d40d..6c1368cc1 100644 --- a/common/utils/T/tracer/local.c +++ b/common/utils/T/tracer/local.c @@ -115,7 +115,7 @@ int main(int n, char **v) for (i = 1; i < n; i++) { if (!strcmp(v[i], "-h") || !strcmp(v[i], "--help")) usage(); - if (!strcmp(v[i], "-l")) { if (i > n-3) usage(); + if (!strcmp(v[i], "-r")) { if (i > n-3) usage(); remote_ip = v[++i]; remote_port = atoi(v[++i]); continue; } printf("ERROR: unknown option %s\n", v[i]); usage(); -- GitLab