summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e51d241)
raw | patch | inline | side by side (parent: e51d241)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 19 Nov 2002 19:06:55 +0000 (19:06 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 19 Nov 2002 19:06:55 +0000 (19:06 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@213 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_time.c | patch | blob | history |
diff --git a/plugins/check_time.c b/plugins/check_time.c
index c38178052d6434b8ba5790520efadd00b3eea4c5..c7405f61bceabf3dfcd66b9eaec73004a486e535 100644 (file)
--- a/plugins/check_time.c
+++ b/plugins/check_time.c
else
result = STATE_UNKNOWN;
terminate (result,
- "TIME UNKNOWN - could not connect to server %s, port %d\n",
- server_address, server_port);
+ "TIME UNKNOWN - could not connect to server %s, port %d\n",
+ server_address, server_port);
}
/* watch for the connection string */
- result = recv (sd, &raw_server_time, sizeof (raw_server_time), 0);
+ result = recv (sd, (void *)&raw_server_time, sizeof (raw_server_time), 0);
/* close the connection */
close (sd);