[PVFS2-CVS] commit by pcarns in pvfs2/src/io/bmi: reference-list.c

CVS commit program cvs at parl.clemson.edu
Thu Jul 22 11:51:59 EDT 2004


Update of /projects/cvsroot/pvfs2/src/io/bmi
In directory parlweb:/tmp/cvs-serv7387/src/io/bmi

Modified Files:
	reference-list.c 
Log Message:
make sure that bmi skips string matching on server side addresses that do
not have a string identifier


Index: reference-list.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/reference-list.c,v
diff -p -u -r1.7 -r1.8
--- reference-list.c	26 Apr 2004 18:15:49 -0000	1.7
+++ reference-list.c	22 Jul 2004 14:51:59 -0000	1.8
@@ -123,7 +123,7 @@ ref_st_p ref_list_search_str(ref_list_p 
     {
 	tmp_entry = qlist_entry(tmp_link, struct ref_st,
 				list_link);
-	if (!strcmp(tmp_entry->id_string, idstring))
+	if (tmp_entry->id_string && !strcmp(tmp_entry->id_string, idstring))
 	    return (tmp_entry);
     }
     return (NULL);



More information about the PVFS2-CVS mailing list