diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-15 00:42:19 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-15 01:01:44 +0100 |
commit | 76681bafa8013f3dac2a6b66841720e8fc78d76d (patch) | |
tree | 7fed3af4996bba99f29bd164f0f9738f0af97037 /debian | |
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.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions