diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2006-12-21 15:02:58 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2006-12-21 15:02:58 +0000 |
commit | 39a00baf0e2e6f8557900dbe1f71a784b320d335 (patch) | |
tree | 69cc28d87e5e52a7c352e435e8f51be5290ea5ff | |
parent | e129981198f46f513604082581bfb9534bad1db0 (diff) | |
download | ports-39a00baf0e2e6f8557900dbe1f71a784b320d335.tar.gz ports-39a00baf0e2e6f8557900dbe1f71a784b320d335.zip |
Remove debug prints from the oscar_recode_charset patch.
Found by: tobez
Notes
Notes:
svn path=/head/; revision=180333
-rw-r--r-- | irc/bitlbee-otr/Makefile | 2 | ||||
-rw-r--r-- | irc/bitlbee-otr/files/oscar-recode-patch | 4 | ||||
-rw-r--r-- | irc/bitlbee/Makefile | 2 | ||||
-rw-r--r-- | irc/bitlbee/files/oscar-recode-patch | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/irc/bitlbee-otr/Makefile b/irc/bitlbee-otr/Makefile index c3d2d18f3319..ef24de012494 100644 --- a/irc/bitlbee-otr/Makefile +++ b/irc/bitlbee-otr/Makefile @@ -7,7 +7,7 @@ PORTNAME= bitlbee PORTVERSION= 1.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= http://get.bitlbee.org/src/ diff --git a/irc/bitlbee-otr/files/oscar-recode-patch b/irc/bitlbee-otr/files/oscar-recode-patch index 7a235b969d3d..f05dfd1549ae 100644 --- a/irc/bitlbee-otr/files/oscar-recode-patch +++ b/irc/bitlbee-otr/files/oscar-recode-patch @@ -125,7 +125,7 @@ - serv_got_im(gc, sender, dialog_msg, 0, t, -1); + if (do_iconv(src, "UTF-8", dialog_msg, tmp, strlen (msg->msg), BUF_LONG) < 0) + tmp = dialog_msg; -+ fprintf (stderr, "bitlbee: offlinemsg, got %s\n", tmp); ++ //fprintf (stderr, "bitlbee: offlinemsg, got %s\n", tmp); + serv_got_im(gc, sender, tmp, 0, t, -1); + if (dialog_msg != tmp) + g_free (tmp); @@ -160,7 +160,7 @@ s = message; } } else { -+ fprintf (stderr, "outgoing message is ascii!\n"); ++ //fprintf (stderr, "outgoing message is ascii!\n"); s = message; } diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile index c3d2d18f3319..ef24de012494 100644 --- a/irc/bitlbee/Makefile +++ b/irc/bitlbee/Makefile @@ -7,7 +7,7 @@ PORTNAME= bitlbee PORTVERSION= 1.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= http://get.bitlbee.org/src/ diff --git a/irc/bitlbee/files/oscar-recode-patch b/irc/bitlbee/files/oscar-recode-patch index 7a235b969d3d..f05dfd1549ae 100644 --- a/irc/bitlbee/files/oscar-recode-patch +++ b/irc/bitlbee/files/oscar-recode-patch @@ -125,7 +125,7 @@ - serv_got_im(gc, sender, dialog_msg, 0, t, -1); + if (do_iconv(src, "UTF-8", dialog_msg, tmp, strlen (msg->msg), BUF_LONG) < 0) + tmp = dialog_msg; -+ fprintf (stderr, "bitlbee: offlinemsg, got %s\n", tmp); ++ //fprintf (stderr, "bitlbee: offlinemsg, got %s\n", tmp); + serv_got_im(gc, sender, tmp, 0, t, -1); + if (dialog_msg != tmp) + g_free (tmp); @@ -160,7 +160,7 @@ s = message; } } else { -+ fprintf (stderr, "outgoing message is ascii!\n"); ++ //fprintf (stderr, "outgoing message is ascii!\n"); s = message; } |