diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-03 06:05:14 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-03 06:05:14 +0000 |
commit | 3f04b037dd31251d8cd7a43f5184b5241d888cd0 (patch) | |
tree | 018e6c906d05ad87ee4ee8a93e3315c30d050a6f /plugins/check_http.c | |
parent | 099a9023f6b685ce071c4de2a3918a0d3edbcb28 (diff) | |
download | monitoring-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.c | 3 |
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) int i = 0, j = 0; char BASE64_END = '='; - char base64_table[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + char base64_table[64]; + strncpy (base64_table, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", 64); while (j < len - 2) { buf[i++] = base64_table[bin[j] >> 2]; |