rbwriter.c | rbwriter.c | |||
---|---|---|---|---|
skipping to change at line 113 | skipping to change at line 113 | |||
} | } | |||
static char buffer[1024 * 1024]; | static char buffer[1024 * 1024]; | |||
static void bmc_send_nozc(size_t size) | static void bmc_send_nozc(size_t size) | |||
{ | { | |||
ssize_t res = 0; | ssize_t res = 0; | |||
repeat_send: | repeat_send: | |||
res = qb_rb_chunk_write(rb, buffer, size); | res = qb_rb_chunk_write(rb, buffer, size); | |||
if (res < size) { | if (res < size) { | |||
//usleep(1); | ||||
goto repeat_send; | goto repeat_send; | |||
} | } | |||
} | } | |||
static void show_usage(const char *name) | static void show_usage(const char *name) | |||
{ | { | |||
printf("usage: \n"); | printf("usage: \n"); | |||
printf("%s <options>\n", name); | printf("%s <options>\n", name); | |||
printf("\n"); | printf("\n"); | |||
printf(" options:\n"); | printf(" options:\n"); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |