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

Diff for /src/usr.bin/cvs/buf.c between version 1.16 and 1.17

version 1.16, 2005/07/26 20:58:44 version 1.17, 2005/07/29 17:04:42
Line 174 
Line 174 
  * of the buffer.  Instead, they are returned and should be freed later using   * of the buffer.  Instead, they are returned and should be freed later using
  * free().   * free().
  */   */
 void*  void *
 cvs_buf_release(BUF *b)  cvs_buf_release(BUF *b)
 {  {
         u_char *tmp;          u_char *tmp;
Line 361 
Line 361 
  *   *
  * Peek at the contents of the buffer <b> at offset <off>.   * Peek at the contents of the buffer <b> at offset <off>.
  */   */
 const void*  const void *
 cvs_buf_peek(BUF *b, size_t off)  cvs_buf_peek(BUF *b, size_t off)
 {  {
         if (off >= b->cb_len)          if (off >= b->cb_len)

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17