Browse code

tls: fixed usage of error label

- introduced in previous commit
(cherry picked from commit 81280e02fe83b534b37de1c156e272b9f7d64f99)

Daniel-Constantin Mierla authored on 27/05/2010 17:42:16 • Andrei Pelinescu-Onciul committed on 28/05/2010 18:52:49
Showing 1 changed files
... ...
@@ -341,7 +341,7 @@ static int mod_init(void)
341 341
 	/* register the rpc interface */
342 342
 	if (rpc_register_array(tls_rpc)!=0) {
343 343
 		LOG(L_ERR, "failed to register RPC commands\n");
344
-		goto error;
344
+		return -1;
345 345
 	}
346 346
 
347 347
 	 /* if (init_tls() < 0) return -1; */