diff options
| author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-21 07:59:07 -0500 |
|---|---|---|
| committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-21 07:59:07 -0500 |
| commit | 11cf54ca78185d820085a476cdbf7d8f9149c292 (patch) | |
| tree | f91c77af08f3bbe60be2a1a699033ad7eda27ba2 /plugins/check_http.c | |
| parent | 66544851f7a4f5eeaf86d1cee8b1f54c76f98433 (diff) | |
| parent | 6141cfebf6c42873e0181105d2051143d8c11eb7 (diff) | |
| download | monitoring-plugins-11cf54ca78185d820085a476cdbf7d8f9149c292.tar.gz | |
Merge branch 'rename'
Diffstat (limited to 'plugins/check_http.c')
| -rw-r--r-- | plugins/check_http.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 343654b5..d8b3f9c5 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | /***************************************************************************** | 1 | /***************************************************************************** |
| 2 | * | 2 | * |
| 3 | * Nagios check_http plugin | 3 | * Monitoring check_http plugin |
| 4 | * | 4 | * |
| 5 | * License: GPL | 5 | * License: GPL |
| 6 | * Copyright (c) 1999-2013 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2013 Monitoring Plugins Development Team |
| 7 | * | 7 | * |
| 8 | * Description: | 8 | * Description: |
| 9 | * | 9 | * |
| @@ -35,7 +35,7 @@ | |||
| 35 | 35 | ||
| 36 | const char *progname = "check_http"; | 36 | const char *progname = "check_http"; |
| 37 | const char *copyright = "1999-2013"; | 37 | const char *copyright = "1999-2013"; |
| 38 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 38 | const char *email = "devel@monitoring-plugins.org"; |
| 39 | 39 | ||
| 40 | #include "common.h" | 40 | #include "common.h" |
| 41 | #include "netutils.h" | 41 | #include "netutils.h" |
| @@ -157,7 +157,7 @@ main (int argc, char **argv) | |||
| 157 | /* Set default URL. Must be malloced for subsequent realloc if --onredirect=follow */ | 157 | /* Set default URL. Must be malloced for subsequent realloc if --onredirect=follow */ |
| 158 | server_url = strdup(HTTP_URL); | 158 | server_url = strdup(HTTP_URL); |
| 159 | server_url_length = strlen(server_url); | 159 | server_url_length = strlen(server_url); |
| 160 | xasprintf (&user_agent, "User-Agent: check_http/v%s (nagios-plugins %s)", | 160 | xasprintf (&user_agent, "User-Agent: check_http/v%s (monitoring-plugins %s)", |
| 161 | NP_VERSION, VERSION); | 161 | NP_VERSION, VERSION); |
| 162 | 162 | ||
| 163 | /* Parse extra opts if any */ | 163 | /* Parse extra opts if any */ |
