]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-afsdb-len-signed-20060328
authorGarry Zacheiss <zacheiss@mit.edu>
Tue, 28 Mar 2006 19:42:57 +0000 (19:42 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 28 Mar 2006 19:42:57 +0000 (19:42 +0000)
in order for -1 to ever be returned, it's gotta be signed...

(cherry picked from commit a4f24472aa7abee6500188c6bb3acabcf96377bc)

src/auth/cellconfig.c

index 75c4282848636d87253d5298796bcd446cec1ca8..83684b371a02b4bc5c9f08180c90a79d5e467e70 100644 (file)
@@ -736,8 +736,7 @@ afsconf_GetAfsdbInfo(char *acellName, char *aservice,
                     struct afsconf_cell *acellInfo)
 {
     afs_int32 code;
-    int tservice, i;
-    size_t len;
+    int tservice, i, len;
     unsigned char answer[1024];
     unsigned char *p;
     char *dotcellname;