summaryrefslogtreecommitdiffstats
path: root/git-version-gen
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-15 00:42:19 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-15 01:01:44 +0100
commit76681bafa8013f3dac2a6b66841720e8fc78d76d (patch)
tree7fed3af4996bba99f29bd164f0f9738f0af97037 /git-version-gen
parentb05552b14c8ac5918c9d88a568bdfc85cfe45755 (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 'git-version-gen')
0 files changed, 0 insertions, 0 deletions