aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_api_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
commitc4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch)
treecac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/cadet/cadet_api_helper.c
parentfbb71d527c7d6babf269a8fefce1db291b9f7068 (diff)
downloadgnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz
gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/cadet/cadet_api_helper.c')
-rw-r--r--src/cadet/cadet_api_helper.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/cadet/cadet_api_helper.c b/src/cadet/cadet_api_helper.c
index 78e5eb45c..52aec6cc9 100644
--- a/src/cadet/cadet_api_helper.c
+++ b/src/cadet/cadet_api_helper.c
@@ -41,15 +41,14 @@
41 * @return A GNUNET_HashCode usable for the new CADET API. 41 * @return A GNUNET_HashCode usable for the new CADET API.
42 */ 42 */
43const struct GNUNET_HashCode * 43const struct GNUNET_HashCode *
44GC_u2h(uint32_t port) 44GC_u2h (uint32_t port)
45{ 45{
46 static struct GNUNET_HashCode hash; 46 static struct GNUNET_HashCode hash;
47 47
48 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, 48 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
49 "This is a transitional function, use proper crypto hashes as CADET ports\n"); 49 "This is a transitional function, use proper crypto hashes as CADET ports\n");
50 GNUNET_CRYPTO_hash(&port, 50 GNUNET_CRYPTO_hash (&port,
51 sizeof(port), 51 sizeof(port),
52 &hash); 52 &hash);
53 return &hash; 53 return &hash;
54} 54}
55