- n_to_send = statb.st_size;
-
- string_alloc(&data, UPDATE_BUFSIZ);
- sprintf(STRING_DATA(data), "XFER_00%c %d %d %s",
- (encrypt ? '3' : '2'), n_to_send,
- checksum_file(pathname), target_path);
- code = send_object(conn, (char *)&data, STRING_T);
- if (code) {
- com_err(whoami, connection_errno(conn), " sending XFER request");
- close(fd);
- return(connection_errno(conn));
+ n_to_send = statb.st_size;
+
+ string_alloc(&data, UPDATE_BUFSIZ);
+ sprintf(STRING_DATA(data), "XFER_00%c %d %d %s",
+ (encrypt ? '3' : '2'), n_to_send,
+ checksum_file(pathname), target_path);
+ code = send_object(conn, (char *)&data, STRING_T);
+ if (code)
+ {
+ com_err(whoami, connection_errno(conn), " sending XFER request");
+ close(fd);
+ return connection_errno(conn);