Module: kamailio Branch: master Commit: fc65a118d15e7942adccd332996701cdb6f1b0c7 URL: https://github.com/kamailio/kamailio/commit/fc65a118d15e7942adccd332996701cd...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2016-09-15T15:19:37+02:00
core: fixed misleading indentation for return statement
---
Modified: tls_hooks.c
---
Diff: https://github.com/kamailio/kamailio/commit/fc65a118d15e7942adccd332996701cd... Patch: https://github.com/kamailio/kamailio/commit/fc65a118d15e7942adccd332996701cd...
---
diff --git a/tls_hooks.c b/tls_hooks.c index b46a429..62ddda2 100644 --- a/tls_hooks.c +++ b/tls_hooks.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 iptelorg GmbH + * Copyright (C) 2007 iptelorg GmbH * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -34,7 +34,7 @@ static int tls_hooks_loaded=0;
int register_tls_hooks(struct tls_hooks* h) { - if (!tls_disable){ + if (!tls_disable) { tls_hook=*h; tls_hooks_loaded++; return 0; @@ -47,7 +47,7 @@ int tls_init(struct socket_info* si) { if (tls_hook.init_si) return tls_hook.init_si(si); - return -1; + return -1; }
int tls_has_init_si()