From 9d1570615849e9f83e78d365fb98df743f512550 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 1 Jul 2003 20:34:23 +0000 Subject: [PATCH] libadmin-pts-pointer-fixes-20030701 FIXES 1647 fix pointers to eliminate warnings --- src/libadmin/pts/afs_ptsAdmin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libadmin/pts/afs_ptsAdmin.c b/src/libadmin/pts/afs_ptsAdmin.c index 855014269..578ec2d43 100644 --- a/src/libadmin/pts/afs_ptsAdmin.c +++ b/src/libadmin/pts/afs_ptsAdmin.c @@ -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) { -- 2.39.5