From b622834b11112cd9d3a51fd62b46c24ac24c7744 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 1 Jul 2003 20:35:08 +0000 Subject: [PATCH] STABLE12-libadmin-pts-pointer-fixes-20030701 FIXES 1647 fix pointers, kill warnings (cherry picked from commit 9d1570615849e9f83e78d365fb98df743f512550) --- 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 96421bd39..f3e47bbce 100644 --- a/src/libadmin/pts/afs_ptsAdmin.c +++ b/src/libadmin/pts/afs_ptsAdmin.c @@ -2682,7 +2682,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++; /* @@ -2725,7 +2725,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) { @@ -3029,7 +3029,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++; @@ -3072,7 +3072,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