[PVFS2-CVS] commit by robl in pvfs2-1/src/client/sysint: client-state-machine.c

CVS commit program cvs at parl.clemson.edu
Thu May 20 16:16:15 EDT 2004


Update of /projects/cvsroot/pvfs2-1/src/client/sysint
In directory acid:/tmp/cvs-serv4912/src/client/sysint

Modified Files:
	client-state-machine.c 
Log Message:
little fixup to make old compilers happy


Index: client-state-machine.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/client/sysint/client-state-machine.c,v
diff -u -w -p -u -r1.47 -r1.48
--- client-state-machine.c	20 May 2004 17:27:48 -0000	1.47
+++ client-state-machine.c	20 May 2004 19:16:15 -0000	1.48
@@ -339,9 +339,10 @@ int PINT_serv_decode_resp(PVFS_fs_id fs_
                        "information.\n");
 	    if (fs_id != PVFS_FS_ID_NULL)
 	    {
+		const char *server_string;
                 creds = PVFS_util_alloc_credentials();
                 assert(creds);
-                const char *server_string = PVFS_mgmt_map_addr(
+                server_string = PVFS_mgmt_map_addr(
                     fs_id, creds, *svr_addr_p, &server_type);
                 free(creds);
 		gossip_err("   Server: %s.\n", server_string);



More information about the PVFS2-CVS mailing list