mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
ce5ceb73fa
PR: ports/87671 Submitted by: Vasil Dimov <vd@datamax.bg> (maintainer)
21 lines
625 B
Diff
21 lines
625 B
Diff
--- 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;
|