From 627c573af25b602ac64c36b01c8163c592cbb494 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 26 Apr 2004 17:45:47 +0000 Subject: Debugging Fixes --- daemon/basic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'daemon/basic.c') diff --git a/daemon/basic.c b/daemon/basic.c index ddce156..45e49cb 100644 --- a/daemon/basic.c +++ b/daemon/basic.c @@ -6,7 +6,6 @@ int basic_parse(const char* header, ha_buffer_t* buf, basic_header_t* rec) { char* t; - ASSERT(header && buf && rec); memset(rec, 0, sizeof(*rec)); @@ -20,8 +19,7 @@ int basic_parse(const char* header, ha_buffer_t* buf, basic_header_t* rec) * * "Basic " B64(user ":" password) */ - ha_bufdec64(buf, header, 0); - header = ha_bufdata(buf); + header = (const char*)ha_bufdec64(buf, header, NULL); if(!header) return HA_ERROR; -- cgit v1.2.3