diff options
author | Federico Mena Quintero <federico@src.gnome.org> | 2000-12-12 06:07:15 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-12-12 06:07:15 +0800 |
commit | 5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb (patch) | |
tree | 9aef39b2615e0dcd55d15d18cc55a391a7f66161 /libical/src/test | |
parent | 1a8645d8b85f46d34ff24f1f7bdc69bfd32282d4 (diff) | |
download | gsoc2013-evolution-5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb.tar gsoc2013-evolution-5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb.tar.gz gsoc2013-evolution-5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb.tar.bz2 gsoc2013-evolution-5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb.tar.lz gsoc2013-evolution-5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb.tar.xz gsoc2013-evolution-5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb.tar.zst gsoc2013-evolution-5ccacd6a5bbeb2d91aea706f37cc5f96ee3144fb.zip |
This commit was generated by cvs2svn to compensate for changes in r6917,
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/; revision=6918
Diffstat (limited to 'libical/src/test')
-rw-r--r-- | libical/src/test/recur.c | 6 | ||||
-rw-r--r-- | libical/src/test/testmime.c | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/libical/src/test/recur.c b/libical/src/test/recur.c index 4d3188f9c2..2967ee7977 100644 --- a/libical/src/test/recur.c +++ b/libical/src/test/recur.c @@ -52,11 +52,9 @@ int main(int argc, char *argv[]) cin = icalfileset_new(argv[1]); assert(cin != 0); - for (itr = icalfileset_get_first_component(cin, - ICAL_ANY_COMPONENT); + for (itr = icalfileset_get_first_component(cin); itr != 0; - itr = icalfileset_get_next_component(cin, - ICAL_ANY_COMPONENT)){ + itr = icalfileset_get_next_component(cin)){ desc = icalcomponent_get_first_property(itr,ICAL_DESCRIPTION_PROPERTY); assert(desc !=0); diff --git a/libical/src/test/testmime.c b/libical/src/test/testmime.c index a912983f84..5dfc3b7d31 100644 --- a/libical/src/test/testmime.c +++ b/libical/src/test/testmime.c @@ -86,6 +86,7 @@ char* read_stream(char *s, size_t size, void *d) } + int main(int argc, char* argv[]) { FILE *f; @@ -135,7 +136,7 @@ int main(int argc, char* argv[]) { opt.stress = 1; break; } - case 'b':{ /* test base64 encoding*/ + case 'b':{ /* test base64 decoding*/ if(opt.stress+opt.normal+opt.qp != 0){ fprintf(stderr, "%s: Use only one of n,s,b and q\n", @@ -144,7 +145,7 @@ int main(int argc, char* argv[]) { opt.base64 = 1; break; } - case 'q':{ /* test quoted-printable encoding*/ + case 'q':{ /* test quoted-printable decoding*/ if(opt.stress+opt.base64+opt.normal != 0){ fprintf(stderr, "%s: Use only one of n,s,b and q\n", |