summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-02-12 12:03:58 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-02-12 12:03:58 (GMT)
commitabbad00edd7f5f3d33ae77a9d5ac338e5bea5fb3 (patch)
tree0d55fb4d8e5ad7a9376d1bccdea31104cbecacfe /plugins/check_http.c
parentbd7029a99b0c2974265c6665638ef14a052f42ab (diff)
downloadmonitoring-plugins-abbad00edd7f5f3d33ae77a9d5ac338e5bea5fb3.tar.gz
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
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 0275402..151eaca 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -764,7 +764,7 @@ check_http (void)
764 764
765 /* optionally send the authentication info */ 765 /* optionally send the authentication info */
766 if (strlen(user_auth)) { 766 if (strlen(user_auth)) {
767 auth = base64 (user_auth, strlen (user_auth)); 767 base64_encode_alloc (user_auth, strlen (user_auth), &auth);
768 asprintf (&buf, "%sAuthorization: Basic %s\r\n", buf, auth); 768 asprintf (&buf, "%sAuthorization: Basic %s\r\n", buf, auth);
769 } 769 }
770 770