From: Vincent Bernat Date: Sat, 25 Nov 2023 03:33:45 +0000 (+0100) Subject: client: fix style X-Git-Tag: 1.0.18~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43a885b2ffc4e379e2d273f226d41a19ff9ddcfb;p=thirdparty%2Flldpd.git client: fix style --- diff --git a/src/client/conf-system.c b/src/client/conf-system.c index 57a62f85..44131302 100644 --- a/src/client/conf-system.c +++ b/src/client/conf-system.c @@ -206,8 +206,7 @@ cmd_hostname(struct lldpctl_conn_t *conn, struct writer *w, struct cmd_env *env, return 0; } char *c = strchr(un.nodename, '.'); - if (c) - *c = 0; + if (c) *c = 0; value = un.nodename; } if (lldpctl_atom_set_str(config, lldpctl_k_config_hostname, value) == NULL) {