Fixed overwriting the stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19173 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -65,7 +65,7 @@ main(int argc, char **argv)
|
|||||||
perror("recv");
|
perror("recv");
|
||||||
sleep(1);
|
sleep(1);
|
||||||
// want the read thread to stay alive
|
// want the read thread to stay alive
|
||||||
//exit(1);
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer[numBytes] = '\0';
|
buffer[numBytes] = '\0';
|
||||||
|
|||||||
Reference in New Issue
Block a user