summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-04-13 10:35:12 +0200
committerSimon Josefsson <simon@josefsson.org>2010-04-13 10:35:12 +0200
commitf97a808246843a1be3e0c23a47c65912c7f9e6b8 (patch)
tree5bddd8f03eb4f34dfc24ef69681f0c5e2ab05a71 /tests
parent5a3c3a8f2848d55b946bb70cffbc648bf38e4879 (diff)
downloadlibtasn1-f97a808246843a1be3e0c23a47c65912c7f9e6b8.tar.gz
libtasn1-f97a808246843a1be3e0c23a47c65912c7f9e6b8.tar.bz2
libtasn1-f97a808246843a1be3e0c23a47c65912c7f9e6b8.zip
Indent code.
Diffstat (limited to 'tests')
-rw-r--r--tests/Test_errors.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/Test_errors.c b/tests/Test_errors.c
index 6ddcf33..1f65d7b 100644
--- a/tests/Test_errors.c
+++ b/tests/Test_errors.c
@@ -26,15 +26,17 @@ main (int argc, char *argv[])
asn1_retCode ec = 0;
const char *errstr;
- do {
- errstr = asn1_strerror (ec);
- asn1_perror (ec);
+ do
+ {
+ errstr = asn1_strerror (ec);
+ asn1_perror (ec);
#ifndef ASN1_DISABLE_DEPRECATED
- errstr = libtasn1_strerror (ec);
- libtasn1_perror (ec);
+ errstr = libtasn1_strerror (ec);
+ libtasn1_perror (ec);
#endif
- ec++;
- } while (errstr);
+ ec++;
+ }
+ while (errstr);
return 0;
}