diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/MirOTR/ekhtml/testsuite | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/ekhtml/testsuite')
-rw-r--r-- | plugins/MirOTR/ekhtml/testsuite/tester.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirOTR/ekhtml/testsuite/tester.c b/plugins/MirOTR/ekhtml/testsuite/tester.c index 972a1564c2..226cb21393 100644 --- a/plugins/MirOTR/ekhtml/testsuite/tester.c +++ b/plugins/MirOTR/ekhtml/testsuite/tester.c @@ -61,7 +61,7 @@ static void handle_starttag(void *cbdata, ekhtml_string_t *tag, printf("START: \"%.*s\"\n", tag->len, tag->str); for(attr=attrs; attr; attr=attr->next) { printf("ATTRIBUTE: \"%.*s\" = ", attr->name.len, attr->name.str); - if(!attr->isBoolean) + if (!attr->isBoolean) printf("\"%.*s\"\n", attr->val.len, attr->val.str); else printf("\"%.*s\"\n", attr->name.len, attr->name.str); @@ -101,7 +101,7 @@ static void handle_data(void *cbdata, ekhtml_string_t *str){ fwrite(str->str, str->len, 1, stdout); } -int main(int argc, char *argv[]){ +int main(int argc, char *argv[]) { tester_cbdata cbdata; ekhtml_parser_t *ekparser; char *buf; @@ -133,7 +133,7 @@ int main(int argc, char *argv[]){ ekhtml_parser_cbdata_set(ekparser, &cbdata); buf = malloc(feedsize); - while((nbuf = fread(buf, 1, feedsize, stdin))){ + while((nbuf = fread(buf, 1, feedsize, stdin))) { ekhtml_string_t str; str.str = buf; |