summaryrefslogtreecommitdiffstats
path: root/net-im/jabber-aim/files
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-19 04:22:50 +0000
committerijliao <ijliao@FreeBSD.org>2002-04-19 04:22:50 +0000
commit878fc5c0d95fbcabca5aae5f54a9e8e038336d55 (patch)
tree7167a5a35d20d3e012be7802dccfaa14c2b0fa4e /net-im/jabber-aim/files
parentd1e3d5ded44e448be0eef9b1c517e0f4963694a7 (diff)
downloadFreeBSD-ports-878fc5c0d95fbcabca5aae5f54a9e8e038336d55.zip
FreeBSD-ports-878fc5c0d95fbcabca5aae5f54a9e8e038336d55.tar.gz
add jabber-aim 0.9.24c
Jabber User Directory module PR: 37209 Submitted by: Sean Chittenden <sean@chittenden.org>
Diffstat (limited to 'net-im/jabber-aim/files')
-rw-r--r--net-im/jabber-aim/files/patch-aa41
1 files changed, 41 insertions, 0 deletions
diff --git a/net-im/jabber-aim/files/patch-aa b/net-im/jabber-aim/files/patch-aa
new file mode 100644
index 0000000..9430278
--- /dev/null
+++ b/net-im/jabber-aim/files/patch-aa
@@ -0,0 +1,41 @@
+--- src/sessions.c Tue Nov 27 04:14:37 2001
++++ /usr/ports/distfiles/jabber/sessions.c.orig Wed Jan 30 09:07:47 2002
+@@ -221,6 +221,29 @@
+ return 1;
+ }
+
++static int aim_icbmparaminfo(aim_session_t* sess, aim_frame_t* fr, ...)
++{
++ struct aim_icbmparameters *params;
++ va_list ap;
++
++ va_start(ap, fr);
++ params = va_arg(ap, struct aim_icbmparameters *);
++ va_end(ap);
++
++ /*
++ * Set these to your taste, or client medium. Setting minmsginterval
++ * higher is good for keeping yourself from getting flooded (esp
++ * if you're on a slow connection or something where that would be
++ * useful).
++ */
++ params->maxmsglen = 8000;
++ params->minmsginterval = 0; /* in milliseconds */
++
++ aim_seticbmparam(sess, params);
++
++ return 1;
++}
++
+ int at_conninitdone_admin(aim_session_t *sess,
+ aim_frame_t *command, ...)
+ {
+@@ -411,6 +434,8 @@
+ AIM_CB_SPECIAL_CONNERR, at_parse_connerr, 0);
+ aim_conn_addhandler(sess, bosconn, 0x0001, 0x001f,
+ at_memrequest, 0);
++ aim_conn_addhandler(sess, bosconn, 0x0004, 0x0005,
++ aim_icbmparaminfo, 0);
+
+
+ am = pmalloco(s->p, sizeof(_at_mio));
OpenPOWER on IntegriCloud