]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
libadmin-pts-pointer-fixes-20030701
authorPeter Breitenlohner <peb@mppmu.mpg.de>
Tue, 1 Jul 2003 20:34:23 +0000 (20:34 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 1 Jul 2003 20:34:23 +0000 (20:34 +0000)
FIXES 1647

fix pointers to eliminate warnings

src/libadmin/pts/afs_ptsAdmin.c

index 85501426922798a134516cc90f83eab1e342856b..578ec2d4379766d26e96095a48ead3a93a8839ec 100644 (file)
@@ -2691,7 +2691,7 @@ static int GetOwnedGroupRPC(
      * We can retrieve the next group from data we already received
      */
 
-    strcpy(&list->group[slot], &list->owned_names.namelist_val[list->index]);
+    strcpy(list->group[slot], list->owned_names.namelist_val[list->index]);
     list->index++;
 
     /*
@@ -2734,7 +2734,7 @@ static int GetOwnedGroupFromCache(
     afs_status_t tst = 0;
     owned_group_list_p list = (owned_group_list_p) rpc_specific;
 
-    strcpy((char *) dest, &list->group[slot]);
+    strcpy((char *) dest, list->group[slot]);
     rc = 1;
 
     if (st != NULL) {
@@ -3038,7 +3038,7 @@ static int GetPTSRPC(
      * We can retrieve the next entry from data we already received
      */
 
-    strcpy(&list->entries[slot], list->currName->name);
+    strcpy(list->entries[slot], list->currName->name);
     list->index++;
     list->currName++;
 
@@ -3081,7 +3081,7 @@ static int GetPTSFromCache(
     afs_status_t tst = 0;
     pts_list_p list = (pts_list_p) rpc_specific;
 
-    strcpy((char *) dest, &list->entries[slot]);
+    strcpy((char *) dest, list->entries[slot]);
     rc = 1;
 
     if (st != NULL) {