From: Ken Hornstein Date: Sat, 4 Feb 2012 05:11:27 +0000 (-0500) Subject: Whoops, used "buffer" when I meant "buf". X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=2645f808bdcc325e143a9c6300ff97b813e5429f;p=mmh Whoops, used "buffer" when I meant "buf". --- 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 */