[PVFS2-CVS] commit by bradles in pvfs2/src/client/sysint: sys-create.sm

CVS commit program cvs at parl.clemson.edu
Tue Jul 19 19:42:33 EDT 2005


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv4231/src/client/sysint

Modified Files:
	sys-create.sm 
Log Message:
Check that server_config is not null.


Index: sys-create.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-create.sm,v
diff -p -u -r1.79 -r1.80
--- sys-create.sm	19 Jul 2005 21:12:45 -0000	1.79
+++ sys-create.sm	19 Jul 2005 22:42:33 -0000	1.80
@@ -1092,7 +1092,8 @@ static PINT_dist* get_default_distributi
 
     /* If a default dist is specified in the config, use that
        else just create a simple_stripe distribution */
-    if (NULL != server_config->default_dist_config.name)
+    if (NULL != server_config &&
+        NULL != server_config->default_dist_config.name)
     {
         dist = PINT_dist_create(server_config->default_dist_config.name);
         



More information about the PVFS2-CVS mailing list