aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@macbook.local> 2009-02-20 00:00:13 +0000
committerGravatar Ton Voon <tonvoon@macbook.local> 2009-02-20 00:00:13 +0000
commit532454485570d76c159b7ddcf218dce1d59c26d3 (patch)
tree2080263bdd160ed32173955568d78ddbffa9dfce /plugins/check_http.c
parent31efea1b490a12a64ce0359c2d847a381d2efb7b (diff)
downloadmonitoring-plugins-532454485570d76c159b7ddcf218dce1d59c26d3.tar.gz
Typo fixes (Jan Wagner - SF 1878971)
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 620e1578..e140be01 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1103,7 +1103,7 @@ redir (char *pos, char *status_line)
url = malloc (strcspn (pos, "\r\n"));
if (url == NULL)
- die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate url\n"));
+ die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n"));
while (pos) {
sscanf (pos, "%1[Ll]%*1[Oo]%*1[Cc]%*1[Aa]%*1[Tt]%*1[Ii]%*1[Oo]%*1[Nn]:%n", xx, &i);
@@ -1134,7 +1134,7 @@ redir (char *pos, char *status_line)
url = realloc (url, strcspn (pos, "\r\n") + 1);
if (url == NULL)
- die (STATE_UNKNOWN, _("HTTP UNKNOWN - could not allocate url\n"));
+ die (STATE_UNKNOWN, _("HTTP UNKNOWN - Could not allocate URL\n"));
/* URI_HTTP, URI_HOST, URI_PORT, URI_PATH */
if (sscanf (pos, HD1, type, addr, &i, url) == 4) {
@@ -1301,7 +1301,7 @@ print_help (void)
printf (" %s\n", _("Connect via SSL. Port defaults to 443"));
printf (" %s\n", "-C, --certificate=INTEGER");
printf (" %s\n", _("Minimum number of days a certificate has to be valid. Port defaults to 443"));
- printf (" %s\n", _("(when this option is used the url is not checked.)\n"));
+ printf (" %s\n", _("(when this option is used the URL is not checked.)\n"));
#endif
printf (" %s\n", "-e, --expect=STRING");