Commit cec6fa34 authored by Philip Carns's avatar Philip Carns

bug fix

parent 0a5eba11
......@@ -155,11 +155,11 @@ int main(int argc, char **argv)
svc = strtok(svc_list, ",");
while(svc)
{
if(strcmp(svc, "data-xfer"))
if(!strcmp(svc, "data-xfer"))
{
data_xfer_service_register(mid, *handler_pool, 0);
}
else if(strcmp(svc, "delegator"))
else if(!strcmp(svc, "delegator"))
{
relay_addr_string = getenv("RELAY_ADDR");
if(relay_addr_string)
......
......@@ -87,11 +87,13 @@ int delegator_service_register(margo_instance_id mid, ABT_pool pool, uint32_t mp
assert(hret == HG_SUCCESS);
if(!flag)
{
printf("DBG: registering client side data_xfer_read.\n");
g_data_xfer_read_id = MERCURY_REGISTER(margo_get_class(mid), "data_xfer_read",
data_xfer_read_in_t, data_xfer_read_out_t, NULL);
}
else
{
printf("DBG: NOT registering client side data_xfer_read.\n");
g_data_xfer_read_id = id;
}
......
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