/[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.7 by chopp, Wed Feb 18 22:31:42 2004 UTC revision 1.8 by hauk, Sun Dec 12 23:45:09 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    chomp(buf, STRLEN);    Util_chomp(buf, STRLEN);
62        
63    /* RATS: ignore */ /* chomp does zero termination */    /* RATS: ignore */ /* Util_chomp does zero termination */
64    rc = sscanf(buf, "%s %d", msg, &version);    rc = sscanf(buf, "%s %d", msg, &version);
65    if ((rc == EOF) || (rc == 0)) {    if ((rc == EOF) || (rc == 0)) {
66       log("RSYNC: server greeting parse error %s\n", buf);       log("RSYNC: server greeting parse error %s\n", buf);

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

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