From abbad00edd7f5f3d33ae77a9d5ac338e5bea5fb3 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 12 Feb 2008 12:03:58 +0000 Subject: Import Gnulib floorf and base64 and removed our old base64 library. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1926 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_http.c') diff --git a/plugins/check_http.c b/plugins/check_http.c index 02754021..151eacac 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -764,7 +764,7 @@ check_http (void) /* optionally send the authentication info */ if (strlen(user_auth)) { - auth = base64 (user_auth, strlen (user_auth)); + base64_encode_alloc (user_auth, strlen (user_auth), &auth); asprintf (&buf, "%sAuthorization: Basic %s\r\n", buf, auth); } -- cgit v1.2.3