]> granicus.if.org Git - python/commit
Get rid of a bogus assert when recv_into() is called with a zero-length
authorGuido van Rossum <guido@python.org>
Fri, 3 Aug 2007 22:27:51 +0000 (22:27 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Aug 2007 22:27:51 +0000 (22:27 +0000)
commitc2de7c03a05eb59ff03f07ea799d0c33abad6cc8
tree68cfe1a6404eadcd19004d694e50097fda74821a
parent4a7fd90d9c963581489215ff2ae0fc593cffc440
Get rid of a bogus assert when recv_into() is called with a zero-length
buffer.  We just return 0 in this case now, like for all zero-length
reads.
Modules/socketmodule.c