1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Remove debug prints from the oscar_recode_charset patch.

Found by:	tobez
This commit is contained in:
Sergey A. Osokin 2006-12-21 15:02:58 +00:00
parent e129981198
commit 39a00baf0e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180333
4 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= bitlbee
PORTVERSION= 1.0.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/

View File

@ -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;
}

View File

@ -7,7 +7,7 @@
PORTNAME= bitlbee
PORTVERSION= 1.0.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/

View File

@ -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;
}