]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-pass-pointers-for-uuid-printing-20030422
authorDerrick Brashear <shadow@dementia.org>
Thu, 15 May 2003 16:52:46 +0000 (16:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 15 May 2003 16:52:46 +0000 (16:52 +0000)
pass pointers for uuid string building

(cherry picked from commit ddd9554560a44314a029d7d2d59af8b7aaaec8ca)

src/viced/host.c

index d87980f54d3b5f83a24c81ba94a0fd9fe546c929..6b5d0c9f27d448198b933faee8845b67a82298c3 100644 (file)
@@ -1059,9 +1059,9 @@ retry:
        {
            char uuid1[128], uuid2[128];
            if (identP->valid)
-               afsUUID_to_string(identP->uuid, uuid1, 127);
+               afsUUID_to_string(&identP->uuid, uuid1, 127);
            if (host->interface)
-               afsUUID_to_string(host->interface->uuid, uuid2, 127);
+               afsUUID_to_string(&host->interface->uuid, uuid2, 127);
            ViceLog(0, 
                    ("CB: new identity for host %s:%d, deleting(%x %x %s %s)\n", 
                     afs_inet_ntoa_r(host->host, hoststr), ntohs(host->port),