aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'libical/src/test')
-rw-r--r--libical/src/test/recur.c6
-rw-r--r--libical/src/test/testmime.c5
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",