summaryrefslogtreecommitdiff
path: root/libotr-3.2.0/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'libotr-3.2.0/src/message.c')
-rw-r--r--libotr-3.2.0/src/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libotr-3.2.0/src/message.c b/libotr-3.2.0/src/message.c
index 06c3347..b385c1f 100644
--- a/libotr-3.2.0/src/message.c
+++ b/libotr-3.2.0/src/message.c
@@ -1285,8 +1285,8 @@ int otrl_message_receiving(OtrlUserState us, const OtrlMessageAppOps *ops,
* (not us) is going to free() the *message pointer,
* not g_free() it. */
const char *plainmsg = (*newmessagep) ? *newmessagep : message;
- const char *format = "<b>The following message received "
- "from %s was <i>not</i> encrypted: [</b>%s<b>]</b>";
+ const char *format = "The following message received "
+ "from %s was not encrypted: [</b>%s<b>]";
char *buf = malloc(strlen(format) + strlen(context->username)
+ strlen(plainmsg) - 3);
/* Remove "%s%s", add username + message + '\0' */