[Pvfs2-cvs] commit by slang in pvfs2/src/io/bmi: bmi.c
CVS commit program
cvs at parl.clemson.edu
Wed Nov 7 11:43:59 EST 2007
Update of /projects/cvsroot/pvfs2/src/io/bmi
In directory parlweb1:/tmp/cvs-serv26628/src/io/bmi
Modified Files:
bmi.c
Log Message:
fix bad commit with endpoint parsing
Index: bmi.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi.c,v
diff -p -u -r1.89 -r1.90
--- bmi.c 6 Nov 2007 23:08:33 -0000 1.89
+++ bmi.c 7 Nov 2007 16:43:59 -0000 1.90
@@ -214,7 +214,7 @@ int BMI_initialize(const char *method_li
if(!strncmp(listen_addrs[j], proto, strlen(proto)))
{
/* found the right addr */
- this_addr = strstr(listen_addrs[j], "://") + 3;
+ this_addr = listen_addrs[j];
break;
}
}
@@ -1558,7 +1558,7 @@ int BMI_addr_lookup(PVFS_BMI_addr_t * ne
break;
}
meth_addr = known_method_table[i]->
- method_addr_lookup(id_string + strlen(name) + 3);
+ method_addr_lookup(id_string);
i = active_method_count - 1; /* point at the new one */
break;
}
More information about the Pvfs2-cvs
mailing list