Skip to contentSkip to conversation

opensm: Allow comma in plugin names parsing

PATCH In review Eli Dorfman 2 participants 2 messages Mar 29, 2011 – Apr 1, 2011 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm: Allow comma in plugin names parsing

Subject: [PATCH] Allow comma in plugin names parsing

---
 opensm/osm_opensm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
opensm/osm_opensm.c +1 -1
index cb40f71..11b7158 100644
@@ -324,7 +324,7 @@ static void load_plugins(osm_opensm_t *osm, const char *plugin_names)
 	char *p_names, *name, *p;
 
 	p_names = strdup(plugin_names);
-	name = strtok_r(p_names, " \t\n", &p);
+	name = strtok_r(p_names, ", \t\n", &p);
 	while (name && *name) {
 		epi = osm_epi_construct(osm, name);
 		if (!epi)
Signature · 6 lines
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html