bugfix: block write

This commit is contained in:
云风
2012-10-18 16:12:25 +08:00
parent d16e00ee39
commit ec325c73b2

View File

@@ -60,7 +60,7 @@ _blockwrite(int fd, const char * buffer, size_t sz) {
return -1; return -1;
} }
sz -= bytes; sz -= bytes;
buffer += sz; buffer += bytes;
sleep(0); sleep(0);
} }
return 0; return 0;