summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a78fd13)
raw | patch | inline | side by side (parent: a78fd13)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 4 Mar 2005 21:58:40 +0000 (21:58 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 4 Mar 2005 21:58:40 +0000 (21:58 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1146 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_disk.c | patch | blob | history | |
plugins/check_smtp.c | patch | blob | history | |
plugins/check_ups.c | patch | blob | history |
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index ab9f66f8ba4dcafb68d31bc33073ae5785394c58..512344d4b30467038882e4deaafc1243048de7ca 100644 (file)
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
*****************************************************************************/
const char *progname = "check_disk";
-const char *program_name = "check_disk"; // Required for coreutils libs
+const char *program_name = "check_disk"; /* Required for coreutils libs */
const char *revision = "$Revision$";
const char *copyright = "1999-2004";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 3b0e4694120abfed0604ad79a87396fa2630ce54..f23e5d0303c216847a1c8a90b2a389b1edd7d4b5 100644 (file)
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
/* send the STARTTLS command */
send(sd, SMTP_STARTTLS, strlen(SMTP_STARTTLS), 0);
- recv(sd,buffer, MAX_INPUT_BUFFER-1, 0); // wait for it
+ recv(sd,buffer, MAX_INPUT_BUFFER-1, 0); /* wait for it */
if (!strstr (buffer, server_expect)) {
printf (_("Server does not support STARTTLS\n"));
return STATE_UNKNOWN;
if (n < nresponses) {
#ifdef HAVE_REGEX_H
cflags |= REG_EXTENDED | REG_NOSUB | REG_NEWLINE;
- //strncpy (regex_expect, responses[n], sizeof (regex_expect) - 1);
- //regex_expect[sizeof (regex_expect) - 1] = '\0';
errcode = regcomp (&preg, responses[n], cflags);
if (errcode != 0) {
regerror (errcode, &preg, errbuf, MAX_INPUT_BUFFER);
/* this causes a seg faul
not sure why, being sloppy
and commenting it out */
- // SSL_free (ssl);
+ /* SSL_free (ssl); */
SSL_CTX_free(ctx);
my_close();
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 1cdf9e9e6b0e9d554c60392730a084d1306428c2..e11332fc6593890abee2aaa7b0cf2b9eb174e8d3 100644 (file)
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
}
if (strcmp (ptr, "ERR VAR-NOT-SUPPORTED") == 0) {
- //printf ("Error: Variable '%s' is not supported\n", varname);
+ /*printf ("Error: Variable '%s' is not supported\n", varname);*/
return NOSUCHVAR;
}