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

Diff of /monit/protocols/rsync.c

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

revision 1.8 by hauk, Sun Dec 12 23:45:09 2004 UTC revision 1.9 by hauk, Sun Dec 19 00:31:51 2004 UTC
# Line 58  int check_rsync(Socket_T s) { Line 58  int check_rsync(Socket_T s) {
58      return FALSE;      return FALSE;
59    }    }
60    
61    Util_chomp(buf, STRLEN);    Util_chomp(buf);
62        
   /* RATS: ignore */ /* Util_chomp does zero termination */  
63    rc = sscanf(buf, "%s %d", msg, &version);    rc = sscanf(buf, "%s %d", msg, &version);
64    if ((rc == EOF) || (rc == 0)) {    if ((rc == EOF) || (rc == 0)) {
65       log("RSYNC: server greeting parse error %s\n", buf);       log("RSYNC: server greeting parse error %s\n", buf);

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