We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825a9be commit ff2615aCopy full SHA for ff2615a
src/buffer.c
@@ -45,7 +45,7 @@ int buffer_read(buffer_t *buffer, char *data, int len)
45
46
while (last == 0) {
47
linked_list_get((*buffer), block);
48
- if (block == NULL) break;
+ if (block == NULL) continue;
49
50
last = block -> last;
51
if (pos >= len) {
0 commit comments