[PVFS2-CVS] commit by rbross in pvfs2/src/apps/karma: comm.c
CVS commit program
cvs at parl.clemson.edu
Mon Feb 16 16:22:39 EST 2004
Update of /projects/cvsroot/pvfs2/src/apps/karma
In directory parlweb:/tmp/cvs-serv32348/src/apps/karma
Modified Files:
comm.c
Log Message:
combo PVFS_id_gen_t -> PVFS_BMI_addr_t, formatting, PVFS error code patch.
Ugly. Sorry if my formatting pisses someone off; at least I'm not using >
80 columns any more :).
Index: comm.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/karma/comm.c,v
diff -p -u -r1.13 -r1.14
--- comm.c 15 Feb 2004 23:49:02 -0000 1.13
+++ comm.c 16 Feb 2004 21:22:39 -0000 1.14
@@ -21,7 +21,7 @@ static int *internal_errors = NULL;
static int visible_stat_ct;
static int internal_stat_ct;
-static PVFS_id_gen_t *internal_addrs = NULL;
+static PVFS_BMI_addr_t *internal_addrs = NULL;
static int internal_addr_ct;
/* performance data structures */
@@ -209,11 +209,12 @@ void gui_comm_set_active_fs(char *contac
internal_stat_ct = outcount;
/* save addresses of servers */
- if (internal_addrs != NULL) {
+ if (internal_addrs != NULL)
+ {
free(internal_addrs);
}
- internal_addrs = (PVFS_id_gen_t *)
- malloc(outcount * sizeof(PVFS_id_gen_t));
+ internal_addrs = (PVFS_BMI_addr_t *)
+ malloc(outcount * sizeof(PVFS_BMI_addr_t));
internal_addr_ct = outcount;
ret = PVFS_mgmt_get_server_array(cur_fsid,
creds,
More information about the PVFS2-CVS
mailing list