summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-08-17 20:58:22 +0000
committerStef Walter <stef@memberwebs.com>2004-08-17 20:58:22 +0000
commit4af582bf3aa65e0a4ebb5723047c4d1e94d12f15 (patch)
tree29975322f4b163027f91f1fba1515ff8404b54f5 /common
parent86e45cfbd0655193e363be6daadbfd5434566a03 (diff)
Fix Base64 encoding problem
Diffstat (limited to 'common')
-rw-r--r--common/buffer.c2
1 files changed, 1 insertions, 1 deletions
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 */