diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/util/test_hexcoder.c | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/util/test_hexcoder.c')
-rw-r--r-- | src/util/test_hexcoder.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/util/test_hexcoder.c b/src/util/test_hexcoder.c index f73989a0e..69e2061cb 100644 --- a/src/util/test_hexcoder.c +++ b/src/util/test_hexcoder.c | |||
@@ -11,13 +11,13 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | 19 | ||
20 | */ | 20 | */ |
21 | /** | 21 | /** |
22 | * @author Christian Grothoff | 22 | * @author Christian Grothoff |
23 | * @file dns/test_hexcoder.c | 23 | * @file dns/test_hexcoder.c |
@@ -32,23 +32,23 @@ | |||
32 | 32 | ||
33 | 33 | ||
34 | int | 34 | int |
35 | main (int argc, | 35 | main(int argc, |
36 | char *argv[]) | 36 | char *argv[]) |
37 | { | 37 | { |
38 | char buf[strlen (TESTSTRING) + 1]; | 38 | char buf[strlen(TESTSTRING) + 1]; |
39 | char *ret; | 39 | char *ret; |
40 | 40 | ||
41 | GNUNET_log_setup ("test-hexcoder", "WARNING", NULL); | 41 | GNUNET_log_setup("test-hexcoder", "WARNING", NULL); |
42 | ret = GNUNET_DNSPARSER_bin_to_hex (TESTSTRING, | 42 | ret = GNUNET_DNSPARSER_bin_to_hex(TESTSTRING, |
43 | strlen (TESTSTRING) + 1); | 43 | strlen(TESTSTRING) + 1); |
44 | GNUNET_assert (NULL != ret); | 44 | GNUNET_assert(NULL != ret); |
45 | GNUNET_assert (sizeof (buf) == | 45 | GNUNET_assert(sizeof(buf) == |
46 | GNUNET_DNSPARSER_hex_to_bin (ret, | 46 | GNUNET_DNSPARSER_hex_to_bin(ret, |
47 | buf)); | 47 | buf)); |
48 | GNUNET_assert (0 == memcmp (TESTSTRING, | 48 | GNUNET_assert(0 == memcmp(TESTSTRING, |
49 | buf, | 49 | buf, |
50 | sizeof (buf))); | 50 | sizeof(buf))); |
51 | GNUNET_free (ret); | 51 | GNUNET_free(ret); |
52 | return 0; | 52 | return 0; |
53 | } | 53 | } |
54 | 54 | ||