projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f931795
)
Whoops, used "buffer" when I meant "buf".
author
Ken Hornstein
<kenh@pobox.com>
Sat, 4 Feb 2012 05:11:27 +0000
(
00:11
-0500)
committer
Ken Hornstein
<kenh@pobox.com>
Sat, 4 Feb 2012 05:11:27 +0000
(
00:11
-0500)
sbr/mts.c
patch
|
blob
|
history
diff --git
a/sbr/mts.c
b/sbr/mts.c
index
451a9b2
..
939a8c7
100644
(file)
--- 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 */