]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUG] patterns: copy-paste typo in type conversion arguments
authorWilly Tarreau <w@1wt.eu>
Tue, 26 Jan 2010 15:48:20 +0000 (16:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Jan 2010 15:48:20 +0000 (16:48 +0100)
src/pattern.c

index 4270cde30dfcab601563fb729f93ef73e892ea24..c593404107d5348314d799f3d31c41e9d1ecd58f 100644 (file)
@@ -471,7 +471,7 @@ struct pattern *pattern_process(struct proxy *px, struct session *l4, void *l7,
                        return NULL;
 
                p->type = conv_expr->conv->in_type;
-               if (!conv_expr->conv->process(conv_expr->arg, expr->arg_len, &p->data))
+               if (!conv_expr->conv->process(conv_expr->arg, conv_expr->arg_len, &p->data))
                        return NULL;
 
                p->type = conv_expr->conv->out_type;