From 2645f808bdcc325e143a9c6300ff97b813e5429f Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Sat, 4 Feb 2012 00:11:27 -0500 Subject: [PATCH] Whoops, used "buffer" when I meant "buf". --- sbr/mts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbr/mts.c b/sbr/mts.c index 451a9b2..939a8c7 100644 --- a/sbr/mts.c +++ b/sbr/mts.c @@ -267,7 +267,7 @@ LocalName (int flag) if (*localname && flag == 0) { strncpy (buf, localname, sizeof(buffer0)); } else { - memset(buffer, 0, sizeof(buffer0)); + memset(buf, 0, sizeof(buffer0)); /* first get our local name */ gethostname (buf, sizeof(buffer0) - 1); /* now fully qualify our name */ -- 1.7.10.4