Commit 939eedf9 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

ok i see why the nonnonblock didn't work, broke it yesterday, missed a return statement

removed while loop again and fixed nonnonblock

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 81f707ea
......@@ -299,8 +299,6 @@ class CommandControl():
seq =, module_name)
#TODO, it may be blocked, msqg need to add a new interface waiting in timeout.
answer, env =, seq)
while answer == None:
answer, env =, seq)
if answer:
rcode, arg = isc.config.ccsession.parse_answer(answer)
......@@ -101,7 +101,7 @@ class Session:
return env, msg
self.recvmsg(nonblock, seq)
return self.recvmsg(nonblock, seq)
return[2:header_length+2]), None
return None, None
Supports Markdown
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