From b4f1f5626d2c97fec0d9360aca3b0605eed5a8c9 Mon Sep 17 00:00:00 2001 From: Nickolai Zeldovich Date: Sat, 8 Jun 2002 01:15:02 +0000 Subject: [PATCH] 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) --- src/viced/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5