aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/gethostname.c')
-rw-r--r--src/backend/port/gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/port/gethostname.c b/src/backend/port/gethostname.c
index 66449d8524b..be7046e7c0e 100644
--- a/src/backend/port/gethostname.c
+++ b/src/backend/port/gethostname.c
@@ -1,4 +1,4 @@
-/* $Id: gethostname.c,v 1.3 1998/01/15 20:54:34 scrappy Exp $ */
+/* $Id: gethostname.c,v 1.4 1998/09/01 03:24:25 momjian Exp $ */
#include <sys/types.h>
#include <string.h>
@@ -20,5 +20,5 @@ gethostname(char *name, int namelen)
}
strncpy(name, mname.nodename, (SYS_NMLN < namelen ? SYS_NMLN : namelen));
- return (0);
+ return 0;
}