Merge pull request #1026 from ZyX-I/no-daemon-zero-byte

Do not make daemon output zero byte
This commit is contained in:
Nikolai Aleksandrovich Pavlov 2014-08-26 21:35:19 +04:00
commit dc1d50bc8f
2 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ def do_read(conn, timeout=2.0):
def do_write(conn, result):
try:
eintr_retry_call(conn.sendall, result + b'\0')
eintr_retry_call(conn.sendall, result)
except Exception:
pass

Binary file not shown.