/[monit]/monit/protocols/ssh.c
ViewVC logotype

Diff of /monit/protocols/ssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by martinp, Thu Jan 29 17:52:12 2004 UTC revision 1.9 by hauk, Sun Dec 12 23:45:09 2004 UTC
# Line 53  int check_ssh(Socket_T s) { Line 53  int check_ssh(Socket_T s) {
53      return FALSE;      return FALSE;
54    }    }
55        
56    if(! starts_with(buf, "SSH-")) {    if(! Util_startsWith(buf, "SSH-")) {
57      log("SSH: protocol error %s\n", buf);      log("SSH: protocol error %s\n", buf);
58      return FALSE;      return FALSE;
59    }    }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26