summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-06-23 07:14:42 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-06-23 07:14:42 +0000
commitb4d8c3421243744440883f168980e3af56373a3b (patch)
tree1e2fc26f710fc9e09f4a82ddffa6aeecec8b0372 /lib
parent94d11263ffa832cb6ef1e32b4051a5df80cf139e (diff)
should be a signed short, not unsigned
Diffstat (limited to 'lib')
-rw-r--r--lib/ZGetWGPort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZGetWGPort.c b/lib/ZGetWGPort.c
index cdd1f45..a7c623c 100644
--- a/lib/ZGetWGPort.c
+++ b/lib/ZGetWGPort.c
@@ -23,11 +23,11 @@ static char rcsid_ZGetWGPort_c[] = "$Header$";
extern char *getenv();
extern uid_t getuid();
-u_short ZGetWGPort()
+short ZGetWGPort()
{
char *envptr, name[128];
FILE *fp;
- u_short wgport;
+ short wgport;
envptr = getenv("WGFILE");
if (!envptr) {