From 4af582bf3aa65e0a4ebb5723047c4d1e94d12f15 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 17 Aug 2004 20:58:22 +0000 Subject: Fix Base64 encoding problem --- common/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/buffer.c') diff --git a/common/buffer.c b/common/buffer.c index ea8f5a7..6064cbe 100644 --- a/common/buffer.c +++ b/common/buffer.c @@ -592,7 +592,7 @@ void* ha_bufdec64(ha_buffer_t* buf, const char* src, size_t* bytes) }; } - if(state != 3) + if(state != 0) buf->_rp++; /* TODO: Validate ending and return error if invalid somehow */ -- cgit v1.2.3