diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2009-04-03 04:13:45 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@redhat.com> | 2009-04-03 06:02:04 -0400 |
commit | c64dbc603831aa93f44239d43e06eebdf82fb1e0 (patch) | |
tree | dfd9cb2d10605671d044501d63c90b09e8c90c1b /array.c | |
parent | 4206d2a47538fda955a07fc4fe3c2e77f39cf6cc (diff) |
A few comment fixes
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -399,15 +399,13 @@ nul_buffer_is_empty (nul_buffer_t *buffer) /* This function appends uninitialized data of length @size * to the buffer, then returns a pointer to the added data. * The intention is that the app can read() into this - * memory, then use nul_buffer_pop_tail() to delete the + * memory, then use nul_buffer_delete_tail() to delete the * area that wasn't read into. Example * * guint8 *area = nul_buffer_alloc_tail (buffer, 8192); * * n_read = read (fd, area, 8192); * - * nul_buffer_delete_tail (buffer, 8192 - (n_read < 0)? 0 : n_read); - * * if (n_read < 0) * { * nul_buffer_delete_tail (buffer, 8192); |