[sr-dev] git:master:fc65a118: core: fixed misleading indentation for return statement

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 15 15:36:08 CEST 2016


Module: kamailio
Branch: master
Commit: fc65a118d15e7942adccd332996701cdb6f1b0c7
URL: https://github.com/kamailio/kamailio/commit/fc65a118d15e7942adccd332996701cdb6f1b0c7

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/fc65a118d15e7942adccd332996701cdb6f1b0c7.diff
Patch: https://github.com/kamailio/kamailio/commit/fc65a118d15e7942adccd332996701cdb6f1b0c7.patch

---

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()




More information about the sr-dev mailing list