diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 19:19:54 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 19:19:54 +0000 |
commit | e342975b5b34dcbce12536c69fd5df82e013f4ac (patch) | |
tree | 8f6dfddf94eed09d7d083d25dc0ae60b1d9ec196 /test/tokeniser.c | |
parent | ef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77 (diff) | |
download | libhubbub-e342975b5b34dcbce12536c69fd5df82e013f4ac.tar.gz libhubbub-e342975b5b34dcbce12536c69fd5df82e013f4ac.tar.bz2 |
Remove Aliases file from test harnesses
svn path=/trunk/hubbub/; revision=10978
Diffstat (limited to 'test/tokeniser.c')
-rw-r--r-- | test/tokeniser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tokeniser.c b/test/tokeniser.c index 17c60f4..e71cdcd 100644 --- a/test/tokeniser.c +++ b/test/tokeniser.c @@ -30,8 +30,8 @@ int main(int argc, char **argv) #define CHUNK_SIZE (4096) uint8_t buf[CHUNK_SIZE]; - if (argc != 3) { - printf("Usage: %s <aliases_file> <filename>\n", argv[0]); + if (argc != 2) { + printf("Usage: %s <filename>\n", argv[0]); return 1; } @@ -46,9 +46,9 @@ int main(int argc, char **argv) assert(hubbub_tokeniser_setopt(tok, HUBBUB_TOKENISER_TOKEN_HANDLER, ¶ms) == HUBBUB_OK); - fp = fopen(argv[2], "rb"); + fp = fopen(argv[1], "rb"); if (fp == NULL) { - printf("Failed opening %s\n", argv[2]); + printf("Failed opening %s\n", argv[1]); return 1; } |