2
0
Эх сурвалжийг харах

tls: fixed usage of error label

- introduced in previous commit
Daniel-Constantin Mierla 15 жил өмнө
parent
commit
81280e02fe
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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; */