comparison libpurple/circbuffer.c @ 25924:584063555949

Remove trailing whitespace
author Mark Doliner <mark@kingant.net>
date Mon, 26 Jan 2009 06:44:00 +0000
parents 5f2496830fd4
children bcbc5994d21c
comparison
equal deleted inserted replaced
25923:7fc110f70662 25924:584063555949
42 } 42 }
43 43
44 static void grow_circ_buffer(PurpleCircBuffer *buf, gsize len) { 44 static void grow_circ_buffer(PurpleCircBuffer *buf, gsize len) {
45 int in_offset = 0, out_offset = 0; 45 int in_offset = 0, out_offset = 0;
46 int start_buflen; 46 int start_buflen;
47 47
48 g_return_if_fail(buf != NULL); 48 g_return_if_fail(buf != NULL);
49 49
50 start_buflen = buf->buflen; 50 start_buflen = buf->buflen;
51 51
52 while ((buf->buflen - buf->bufused) < len) 52 while ((buf->buflen - buf->bufused) < len)
92 void purple_circ_buffer_append(PurpleCircBuffer *buf, gconstpointer src, gsize len) { 92 void purple_circ_buffer_append(PurpleCircBuffer *buf, gconstpointer src, gsize len) {
93 93
94 int len_stored; 94 int len_stored;
95 95
96 g_return_if_fail(buf != NULL); 96 g_return_if_fail(buf != NULL);
97 97
98 /* Grow the buffer, if necessary */ 98 /* Grow the buffer, if necessary */
99 if ((buf->buflen - buf->bufused) < len) 99 if ((buf->buflen - buf->bufused) < len)
100 grow_circ_buffer(buf, len); 100 grow_circ_buffer(buf, len);
101 101
102 /* If there is not enough room to copy all of src before hitting 102 /* If there is not enough room to copy all of src before hitting