From: Hans-Werner Paulsen Date: Mon, 31 Jul 2006 16:34:27 +0000 (+0000) Subject: DEVEL15-libafsauthent-avoid-global-host-20060731 X-Git-Tag: openafs-devel-1_5_5~22 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9dc5903a435b2156487888f8c7bc2e833a2e80fb;p=packages%2Fo%2Fopenafs.git DEVEL15-libafsauthent-avoid-global-host-20060731 FIXES 36411 defining host globally in the rmtsysc interface: dumb (cherry picked from commit e6f6adc1bc310482baa868046e68c386ab1c822b) --- diff --git a/src/sys/rmtsysc.c b/src/sys/rmtsysc.c index 653886dc9..6d501af12 100644 --- a/src/sys/rmtsysc.c +++ b/src/sys/rmtsysc.c @@ -45,7 +45,6 @@ RCSID static afs_int32 hostAddr = 0; static int hostAddrLookup = 0; char *afs_server = 0, server_name[128]; -afs_int32 host; static afs_int32 SetClientCreds(); /* Picks up the name of the remote afs client host where the rmtsys @@ -122,6 +121,7 @@ rx_connection(afs_int32 * errorcode, char *syscall) { struct rx_connection *conn; struct rx_securityClass *null_securityObject; + afs_int32 host; if (!(host = GetAfsServerAddr(syscall))) { *errorcode = -1;