summaryrefslogtreecommitdiff
path: root/mail/lmtp2nntp/files/patch-lmtp2nntp_l2.c.diff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-21 22:11:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-21 22:11:51 +0000
commitce5ceb73fa5009a3485ef52890f7872d29aa6ebf (patch)
treebe7710e34f8fd61a58c6507b2e107193a8c8fbc3 /mail/lmtp2nntp/files/patch-lmtp2nntp_l2.c.diff
parentUpgrade to 2.6.4. (diff)
- Update to 1.4.1
PR: ports/87671 Submitted by: Vasil Dimov <vd@datamax.bg> (maintainer)
Diffstat (limited to 'mail/lmtp2nntp/files/patch-lmtp2nntp_l2.c.diff')
-rw-r--r--mail/lmtp2nntp/files/patch-lmtp2nntp_l2.c.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/lmtp2nntp/files/patch-lmtp2nntp_l2.c.diff b/mail/lmtp2nntp/files/patch-lmtp2nntp_l2.c.diff
new file mode 100644
index 000000000000..9e3bb6a7b56e
--- /dev/null
+++ b/mail/lmtp2nntp/files/patch-lmtp2nntp_l2.c.diff
@@ -0,0 +1,20 @@
+--- lmtp2nntp_l2.c.orig Wed Oct 19 19:11:54 2005
++++ lmtp2nntp_l2.c Wed Oct 19 19:12:26 2005
+@@ -60,7 +60,7 @@
+ }
+
+ /* configure channel */
+-static l2_result_t hook_configure(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list ap)
++static l2_result_t hook_configure(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list *ap)
+ {
+ l2_ch_var_t *cfg;
+
+@@ -69,7 +69,7 @@
+ return L2_ERR_ARG;
+
+ /* special parameter parsing */
+- if ((cfg->var = (var_t *)va_arg(ap, void *)) == NULL)
++ if ((cfg->var = (var_t *)va_arg(*ap, void *)) == NULL)
+ return L2_ERR_ARG;
+
+ return L2_OK;