[BACK]Return to io.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rsync

Diff for /src/usr.bin/rsync/io.c between version 1.22 and 1.23

version 1.22, 2022/04/12 14:51:04 version 1.23, 2022/12/26 19:16:02
Line 164 
Line 164 
   
 /*  /*
  * Write "line" (NUL-terminated) followed by a newline.   * Write "line" (NUL-terminated) followed by a newline.
  * Returns zero on failure, non-zero on succcess.   * Returns zero on failure, non-zero on success.
  */   */
 int  int
 io_write_line(struct sess *sess, int fd, const char *line)  io_write_line(struct sess *sess, int fd, const char *line)
Line 468 
Line 468 
 }  }
   
 /*  /*
  * Like io_buffer_buf(), but also accomodating for multiplexing codes.   * Like io_buffer_buf(), but also accommodating for multiplexing codes.
  * This should NEVER be passed to io_write_buf(), but instead passed   * This should NEVER be passed to io_write_buf(), but instead passed
  * directly to a write operation.   * directly to a write operation.
  */   */
Line 502 
Line 502 
  *   io_lowbuffer_alloc(... sizeof(int32_t));   *   io_lowbuffer_alloc(... sizeof(int32_t));
  *   io_lowbuffer_int(...);   *   io_lowbuffer_int(...);
  * And not sizeof(int32_t) * 2 or whatnot.   * And not sizeof(int32_t) * 2 or whatnot.
  * Returns zero on failure, non-zero on succes.   * Returns zero on failure, non-zero on success.
  */   */
 int  int
 io_lowbuffer_alloc(struct sess *sess, void **buf,  io_lowbuffer_alloc(struct sess *sess, void **buf,

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23