From: Ondřej Surý Date: Sun, 13 Nov 2016 01:55:56 +0000 (+0100) Subject: whitespace fixes in daemon/tls.c X-Git-Tag: v1.2.0-rc1~79^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=053a7da204d450a39da02322d73ea001dc4afcc8;p=thirdparty%2Fknot-resolver.git whitespace fixes in daemon/tls.c --- diff --git a/daemon/tls.c b/daemon/tls.c index 3bd02a860..d45ad5b43 100644 --- a/daemon/tls.c +++ b/daemon/tls.c @@ -1,7 +1,9 @@ /* * Copyright (C) 2016 American Civil Liberties Union (ACLU) + * 2016 CZ.NIC, z.s.p.o * * Initial Author: Daniel Kahn Gillmor + * Ondřej Surý * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -57,14 +59,12 @@ struct tls_ctx_t { #define DEBUG_MSG(fmt...) #endif -static void -kres_gnutls_log(int level, const char *message) +static void kres_gnutls_log(int level, const char *message) { kr_log_error("[tls] gnutls: (%d) %s", level, message); } -void -tls_setup_logging(bool verbose) +void tls_setup_logging(bool verbose) { gnutls_global_set_log_function(kres_gnutls_log); gnutls_global_set_log_level(verbose ? 1 : 0); @@ -174,7 +174,7 @@ void tls_free(struct tls_ctx_t *tls) free(tls); } -int tls_push(struct qr_task *task, uv_handle_t* handle, knot_pkt_t * pkt) +int tls_push(struct qr_task *task, uv_handle_t *handle, knot_pkt_t *pkt) { if (!pkt || !handle || !handle->data) { return kr_error(EINVAL);