From: Nickolai Zeldovich Date: Sat, 8 Jun 2002 01:15:02 +0000 (+0000) Subject: STABLE12-fix-pointer-argument-type-in-hLookup-20020422 X-Git-Tag: openafs-stable-1_2_5~18 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b4f1f5626d2c97fec0d9360aca3b0605eed5a8c9;p=packages%2Fo%2Fopenafs.git STABLE12-fix-pointer-argument-type-in-hLookup-20020422 The heldp argument to h_Lookup should be an int* rather than int, as pointed out by amu@alum.mit.edu. (cherry picked from commit 27595ffcd995dc31c565acdb630d5b60a275fe27) --- diff --git a/src/viced/host.c b/src/viced/host.c index df7ee4a06..98de75dfd 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -640,7 +640,7 @@ struct host *h_Alloc_r(r_con) /* Lookup a host given an IP address and UDP port number. */ struct host *h_Lookup(hostaddr, hport, heldp) afs_uint32 hostaddr, hport; /* network byte order */ - int heldp; + int *heldp; { struct host *retVal; H_LOCK