osmith has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/42865?usp=email )
Change subject: utils: fix typos ......................................................................
utils: fix typos
Change-Id: Ib8ede7cbfed9198f59fe2899fe4b68eac5ac9a23 --- M utils/gsmtap-logsend.c M utils/osmo-config-merge.c 2 files changed, 3 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/utils/gsmtap-logsend.c b/utils/gsmtap-logsend.c index 97a838b..67114e7 100644 --- a/utils/gsmtap-logsend.c +++ b/utils/gsmtap-logsend.c @@ -101,7 +101,7 @@
gsmtap_fd = gsmtap_source_init_fd(dest_host, dest_port); if (gsmtap_fd < 0) { - fprintf(stderr, "Unable to create GSMTAP soicket: %s\n", strerror(errno)); + fprintf(stderr, "Unable to create GSMTAP socket: %s\n", strerror(errno)); exit(2); }
diff --git a/utils/osmo-config-merge.c b/utils/osmo-config-merge.c index f7db945..d297d01 100644 --- a/utils/osmo-config-merge.c +++ b/utils/osmo-config-merge.c @@ -161,7 +161,7 @@ line_num++; chomp(line); int indent = count_indent(line); - bool coment = line_is_comment(&line[indent]); + bool comment = line_is_comment(&line[indent]); struct node *n;
if (indent > cur_indent) { @@ -190,7 +190,7 @@
/* comments are not part of the indentation structure of the * file, hence commands after it are not to be affected by them: */ - if (!coment) { + if (!comment) { last = n; cur_indent = indent; }