]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-fix-pointer-argument-type-in-hLookup-20020422
authorNickolai Zeldovich <kolya@mit.edu>
Sat, 8 Jun 2002 01:15:02 +0000 (01:15 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 8 Jun 2002 01:15:02 +0000 (01:15 +0000)
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)

src/viced/host.c

index df7ee4a06220653e81e603bade93b68dbcd2b271..98de75dfd23246c77e7123c8240277a1e0a37ef3 100644 (file)
@@ -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