Commit 51af7d43 authored by Gaurav Kukreja's avatar Gaurav Kukreja

parallel-minimax Fix: Compiles. Does not run.

Signed-off-by: 's avatarGaurav Kukreja <mailme.gaurav@gmail.com>
parent c8cdde56
...@@ -271,8 +271,6 @@ char* Connection::addr() ...@@ -271,8 +271,6 @@ char* Connection::addr()
bool Connection::sendString(const char* str, int len) bool Connection::sendString(const char* str, int len)
{ {
if(thread_rank == 0)
{
if (!reachable) return false; if (!reachable) return false;
int s = ::socket (PF_INET, SOCK_STREAM, 0); int s = ::socket (PF_INET, SOCK_STREAM, 0);
...@@ -293,7 +291,6 @@ bool Connection::sendString(const char* str, int len) ...@@ -293,7 +291,6 @@ bool Connection::sendString(const char* str, int len)
if (verbose>1) if (verbose>1)
printf("Connection::sendString: Sent to %s: '%s'\n", addr(), str); printf("Connection::sendString: Sent to %s: '%s'\n", addr(), str);
}
return true; return true;
} }
......
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