X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-line-buffer.c;h=7ec9b13c9b2ceb84fb6dd0dd229e9f6cb8c1a635;hb=b9a972691e3967166e642bd91ea229087a6b4874;hp=25b20b93fd4a1113629c99bd5a53dfee965119c1;hpb=cdc34664d4bb86063062dd63183dfb6b9ebf4772;p=git.git diff --git a/test-line-buffer.c b/test-line-buffer.c index 25b20b93f..7ec9b13c9 100644 --- a/test-line-buffer.c +++ b/test-line-buffer.c @@ -32,12 +32,6 @@ static void handle_command(const char *command, const char *arg, struct line_buf buffer_copy_bytes(buf, strtouint32(arg)); return; } - case 'r': - if (!prefixcmp(command, "read ")) { - const char *s = buffer_read_string(buf, strtouint32(arg)); - fputs(s, stdout); - return; - } case 's': if (!prefixcmp(command, "skip ")) { buffer_skip_bytes(buf, strtouint32(arg));