summaryrefslogtreecommitdiff
path: root/tests/init_roundtrip.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-08 22:14:07 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-08 22:17:10 +0100
commit76c93d23c073ef8b885503b7d28a31ffe2add6d8 (patch)
tree1dd2d22a197bc40c5330e516969a7cb1ae9bc96f /tests/init_roundtrip.c
parent559a144f6bbcbb611453f82e655dd7438c14d1a7 (diff)
downloadgnutls-76c93d23c073ef8b885503b7d28a31ffe2add6d8.tar.gz
reindented code
Diffstat (limited to 'tests/init_roundtrip.c')
-rw-r--r--tests/init_roundtrip.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/tests/init_roundtrip.c b/tests/init_roundtrip.c
index c96dd50345..4160b61bfe 100644
--- a/tests/init_roundtrip.c
+++ b/tests/init_roundtrip.c
@@ -30,23 +30,22 @@
/* See <http://bugs.gentoo.org/272388>. */
-void
-doit (void)
+void doit(void)
{
- int res;
+ int res;
- res = global_init ();
- if (res != 0)
- fail ("global_init\n");
+ res = global_init();
+ if (res != 0)
+ fail("global_init\n");
- gnutls_global_deinit ();
+ gnutls_global_deinit();
- res = global_init ();
- if (res != 0)
- fail ("global_init2\n");
+ res = global_init();
+ if (res != 0)
+ fail("global_init2\n");
- gnutls_global_deinit ();
+ gnutls_global_deinit();
- if (debug)
- success ("init-deinit round-trip success\n");
+ if (debug)
+ success("init-deinit round-trip success\n");
}