libpurple/protocols/silc/chat.c

changeset 39492
83e50cb13644
parent 39491
0dfac00d800e
child 39493
72d1afcb0a8c
--- a/libpurple/protocols/silc/chat.c	Wed Mar 20 19:06:02 2019 -0400
+++ b/libpurple/protocols/silc/chat.c	Wed Mar 20 19:06:31 2019 -0400
@@ -387,7 +387,8 @@
 	SilcUInt32 pk_len;
 	char *fingerprint, *babbleprint;
 	SilcPublicKeyIdentifier ident;
-	char tmp2[1024], t[512];
+	char tmp2[1024];
+	const gchar *t;
 	PurpleRequestFields *fields;
 	PurpleRequestFieldGroup *g;
 	PurpleRequestField *f;
@@ -417,12 +418,11 @@
 	purple_request_field_group_add_field(g, f);
 	purple_request_fields_add_group(fields, g);
 
-	g_snprintf(t, sizeof(t),
-		   _("Channel authentication is used to secure the channel from "
-		     "unauthorized access. The authentication may be based on "
-		     "passphrase and digital signatures. If passphrase is set, it "
-		     "is required to be able to join. If channel public keys are set "
-		     "then only users whose public keys are listed are able to join."));
+	t = _("Channel authentication is used to secure the channel from "
+	      "unauthorized access. The authentication may be based on "
+	      "passphrase and digital signatures. If passphrase is set, it "
+	      "is required to be able to join. If channel public keys are set "
+	      "then only users whose public keys are listed are able to join.");
 
 	if (!channel_pubkeys || !silc_dlist_count(channel_pubkeys)) {
 		f = purple_request_field_list_new("list", NULL);

mercurial