Browse Source

tls: fixed usage of error label

- introduced in previous commit
Daniel-Constantin Mierla 15 years ago
parent
commit
81280e02fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/tls/tls_mod.c

+ 1 - 1
modules/tls/tls_mod.c

@@ -341,7 +341,7 @@ static int mod_init(void)
 	/* register the rpc interface */
 	if (rpc_register_array(tls_rpc)!=0) {
 		LOG(L_ERR, "failed to register RPC commands\n");
-		goto error;
+		return -1;
 	}
 
 	 /* if (init_tls() < 0) return -1; */