summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-03 06:05:14 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-03 06:05:14 +0000
commit3f04b037dd31251d8cd7a43f5184b5241d888cd0 (patch)
tree018e6c906d05ad87ee4ee8a93e3315c30d050a6f /plugins/check_http.c
parent099a9023f6b685ce071c4de2a3918a0d3edbcb28 (diff)
downloadmonitoring-plugins-3f04b037dd31251d8cd7a43f5184b5241d888cd0.tar.gz
markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@639 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index c1016bb0..951c7641 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -536,7 +536,8 @@ base64 (char *bin, int len)
536 int i = 0, j = 0; 536 int i = 0, j = 0;
537 537
538 char BASE64_END = '='; 538 char BASE64_END = '=';
539 char base64_table[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; 539 char base64_table[64];
540 strncpy (base64_table, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", 64);
540 541
541 while (j < len - 2) { 542 while (j < len - 2) {
542 buf[i++] = base64_table[bin[j] >> 2]; 543 buf[i++] = base64_table[bin[j] >> 2];