aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/oscar/oscar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c
index 9f568c44..9f33f320 100644
--- a/protocols/oscar/oscar.c
+++ b/protocols/oscar/oscar.c
@@ -1041,7 +1041,8 @@ static int incomingim_chan2(aim_session_t *sess, aim_conn_t *conn, aim_userinfo_
g_free(name);
} else if (args->reqclass & AIM_CAPS_ICQRTF) {
// TODO: constify
- char *text = g_strdup(args->info.rtfmsg.rtfmsg);
+ char text[strlen(args->info.rtfmsg.rtfmsg)+1];
+ strncpy(text, args->info.rtfmsg.rtfmsg, sizeof(text));
imcb_buddy_msg(ic, normalize(userinfo->sn), text, 0, 0);
}
2'>hotfix/0.20.0.12 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/gettext-2.1.0/samples/po/vi/hello2.po
blob: a87ce40cab69d5b058abe126a12c9030b4a50040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31