From: Vincent Bernat Date: Mon, 24 Jun 2013 17:41:46 +0000 (+0200) Subject: snmp: fix a typo in `agent_priv.c` X-Git-Tag: 0.7.6~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e36732de77685a38b2ddc3470aea63a2788ac6c;p=thirdparty%2Flldpd.git snmp: fix a typo in `agent_priv.c` --- diff --git a/src/daemon/agent_priv.c b/src/daemon/agent_priv.c index d74ab54c..6334cb5e 100644 --- a/src/daemon/agent_priv.c +++ b/src/daemon/agent_priv.c @@ -126,7 +126,7 @@ agent_priv_unix_transport(const char *string, int len, int local) if (!string) return NULL; if (len >= sizeof(addr.sun_path) || - strlcpy(addr.sun_path, string, sizeof(addr.sun_path)) >= sizeof(addr.sun_path)) + strlcpy(addr.sun_path, string, sizeof(addr.sun_path)) >= sizeof(addr.sun_path)) { log_warnx("snmp", "path too long for Unix domain transport"); return NULL; }