Commit aae6c6b9 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Fixed a bug


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@205 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent facb9492
......@@ -176,9 +176,9 @@ int nmxp_readConnectionTime(int isock, int32_t *connection_time) {
int nmxp_waitReady(int isock) {
int times = 0;
int rc = NMXP_SOCKET_OK;
uint32_t signature;
uint32_t type = 0;
uint32_t length;
int32_t signature;
int32_t type = 0;
int32_t length;
while(rc == NMXP_SOCKET_OK && type != NMXP_MSG_READY) {
rc = nmxp_recv_ctrl(isock, &signature, sizeof(signature));
......
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