Displaying 3 results from an estimated 3 matches for "send_list".
Did you mean:
end_list
2002 Apr 03
4
Patch to avoid 'Connection reset by peer' error for rsync on cygwin
...{
io_printf(fd,"@ERROR: protocol startup error\n");
- return -1;
+ goto exitwithnomodule;
}
while (i == -1) {
line[0] = 0;
if (!read_line(fd, line, sizeof(line)-1)) {
- return -1;
+ goto exitwithnomodule;
}
if (!*line || strcmp(line,"#list")==0) {
send_listing(fd);
- return -1;
+ goto exitwithnomodule;
}
if (*line == '#') {
/* it's some sort of command that I don't understand */
io_printf(fd,"@ERROR: Unknown command '%s'\n", line);
- return -1;
+ goto exitwithnomodule;
}
i = lp_number(lin...
2002 May 09
0
[PATCH] (Resubmission) 'Connection reset by peer' with rsync server on cygwin
...{
io_printf(fd,"@ERROR: protocol startup error\n");
- return -1;
+ goto exitwithnomodule;
}
while (i == -1) {
line[0] = 0;
if (!read_line(fd, line, sizeof(line)-1)) {
- return -1;
+ goto exitwithnomodule;
}
if (!*line || strcmp(line,"#list")==0) {
send_listing(fd);
- return -1;
+ goto exitwithnomodule;
}
if (*line == '#') {
/* it's some sort of command that I don't understand */
io_printf(fd,"@ERROR: Unknown command '%s'\n", line);
- return -1;
+ goto exitwithnomodule;
}
i = lp_number(lin...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...: %d", &remote_version) != 1) {
! io_printf(fd,"@ERROR: protocol startup error\n");
return -1;
}
while (i == -1) {
line[0] = 0;
! if (!read_line(fd, line, sizeof(line)-1)) {
return -1;
}
if (!*line || strcmp(line,"#list")==0) {
! send_listing(fd);
return -1;
}
if (*line == '#') {
/* it's some sort of command that I don't understand */
! io_printf(fd,"@ERROR: Unknown command '%s'\n", line);
return -1;
}
i = lp_number(line);
if (i == -1) {
! io_printf(fd,...