summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo')
-rw-r--r--src/libs/zbxsysinfo/simple/simple.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/simple/simple.c b/src/libs/zbxsysinfo/simple/simple.c
index 48ff72b5..5e584942 100644
--- a/src/libs/zbxsysinfo/simple/simple.c
+++ b/src/libs/zbxsysinfo/simple/simple.c
@@ -113,14 +113,14 @@ static int check_ssh(const char *host, unsigned short port, int *value_int)
send_buf[MAX_BUF_LEN],
*recv_buf,
*ssh_server,
- *ssh_proto;
-
+ *ssh_proto;
+
assert(value_int);
*value_int = 0;
if( SUCCEED == (ret = zbx_tcp_connect(&s, host, port)) )
- {
+ {
if( SUCCEED == (ret = zbx_tcp_recv(&s, &recv_buf)) )
{
if ( 0 == strncmp(recv_buf, "SSH", 3) )