commit | 76681bafa8013f3dac2a6b66841720e8fc78d76d | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Feb 15 00:42:19 2011 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Feb 15 01:01:44 2011 +0100 |
tree | 7fed3af4996bba99f29bd164f0f9738f0af97037 | |
parent | b05552b14c8ac5918c9d88a568bdfc85cfe45755 [diff] |
write_queue: Only pop the queue if it is not empty It is possible that the queue is cleared after the select and before the callback for writable is called. Check if the list is not empty brefore taking an item out of it.