View | Details | Raw Unified | Return to bug 2176
Collapse All | Expand All

(-)sftp-client.c (-2 / +3 lines)
Lines 1253-1259 do_download(struct sftp_conn *conn, char Link Here
1253
			    "server reordered requests", local_path);
1253
			    "server reordered requests", local_path);
1254
		}
1254
		}
1255
		debug("truncating at %llu", (unsigned long long)highwater);
1255
		debug("truncating at %llu", (unsigned long long)highwater);
1256
		ftruncate(local_fd, highwater);
1256
		if (ftruncate(local_fd, highwater) == -1) {
1257
			error("Unable to truncate \"%s\"", local_path);
1258
		}
1257
	}
1259
	}
1258
	if (read_error) {
1260
	if (read_error) {
1259
		error("Couldn't read from remote file \"%s\" : %s",
1261
		error("Couldn't read from remote file \"%s\" : %s",
Lines 1726-1729 path_append(char *p1, char *p2) Link Here
1726
1728
1727
	return(ret);
1729
	return(ret);
1728
}
1730
}
1729

Return to bug 2176