Commit 5c7bca08 authored by Shane Snyder's avatar Shane Snyder

forgot comment

parent 9179ed7b
...@@ -76,7 +76,7 @@ int mobject_store_connect(mobject_store_t cluster) ...@@ -76,7 +76,7 @@ int mobject_store_connect(mobject_store_t cluster)
if (cluster_handle->connected) if (cluster_handle->connected)
return 0; return 0;
/* figure out transport to connect with using address information /* figure out protocol to connect with using address information
* associated with the SSG group ID * associated with the SSG group ID
*/ */
srv_addr = ssg_group_id_get_addr_str(cluster_handle->gid); srv_addr = ssg_group_id_get_addr_str(cluster_handle->gid);
...@@ -87,7 +87,7 @@ int mobject_store_connect(mobject_store_t cluster) ...@@ -87,7 +87,7 @@ int mobject_store_connect(mobject_store_t cluster)
free(cluster_handle); free(cluster_handle);
return -1; return -1;
} }
/* */ /* we only need to the proto portion of the address to initialize */
for(i=0; i<24 && srv_addr[i] != '\0' && srv_addr[i] != ':'; i++) for(i=0; i<24 && srv_addr[i] != '\0' && srv_addr[i] != ':'; i++)
proto[i] = srv_addr[i]; proto[i] = srv_addr[i];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment