Changeset 30093fa
- Timestamp:
- 2016-11-12T02:30:32Z (8 years ago)
- Branches:
- master
- Children:
- 727a68b
- Parents:
- fecdd71
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.h
rfecdd71 r30093fa 29 29 #define IRC_MAX_LINE 512 30 30 #define IRC_MAX_ARGS 16 31 #define IRC_WORD_WRAP 425 31 32 32 33 #define IRC_LOGIN_TIMEOUT 60 -
irc_im.c
rfecdd71 r30093fa 299 299 } 300 300 301 wrapped = word_wrap(msg, 425);301 wrapped = word_wrap(msg, IRC_WORD_WRAP); 302 302 irc_send_msg(src_iu, message_type, dst, wrapped, prefix); 303 303 g_free(wrapped); … … 673 673 } 674 674 675 wrapped = word_wrap(msg, 425);675 wrapped = word_wrap(msg, IRC_WORD_WRAP); 676 676 irc_send_msg(iu, "PRIVMSG", ic->name, wrapped, ts); 677 677 g_free(ts); -
otr.c
rfecdd71 r30093fa 1400 1400 void display_otr_message(void *opdata, ConnContext *ctx, const char *fmt, ...) 1401 1401 { 1402 char *msg_, *msg; 1402 1403 struct im_connection *ic = 1403 1404 check_imc(opdata, ctx->accountname, ctx->protocol); … … 1407 1408 1408 1409 va_start(va, fmt); 1409 char *msg= g_strdup_vprintf(fmt, va);1410 msg_ = g_strdup_vprintf(fmt, va); 1410 1411 va_end(va); 1412 1413 msg = word_wrap(msg_, IRC_WORD_WRAP); 1411 1414 1412 1415 if (u) { … … 1417 1420 } 1418 1421 1422 g_free(msg_); 1419 1423 g_free(msg); 1420 1424 }
Note: See TracChangeset
for help on using the changeset viewer.