The heldp argument to h_Lookup should be an int* rather than int,
authorNickolai Zeldovich <kolya@mit.edu>
Mon, 22 Apr 2002 18:16:16 +0000 (18:16 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Mon, 22 Apr 2002 18:16:16 +0000 (18:16 +0000)
as pointed out by amu@alum.mit.edu.

src/viced/host.c

index df7ee4a..98de75d 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