diff options
Diffstat (limited to 'lib/xgethostname.c')
-rw-r--r-- | lib/xgethostname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xgethostname.c b/lib/xgethostname.c index 861c52f05..ec00373fb 100644 --- a/lib/xgethostname.c +++ b/lib/xgethostname.c @@ -57,7 +57,7 @@ xgethostname () size = INITIAL_HOSTNAME_LENGTH; /* Use size + 1 here rather than size to work around the bug - in SunOS5.5's gethostname whereby it NUL-terminates HOSTNAME + in SunOS 5.5's gethostname whereby it NUL-terminates HOSTNAME even when the name is longer than the supplied buffer. */ hostname = xmalloc (size + 1); while (1) |