comparison libpurple/circbuffer.c @ 15547:c2d75b47198d

sf patch #1647731, from Markus Elfring constify some things
author Mark Doliner <mark@kingant.net>
date Sun, 04 Feb 2007 19:42:39 +0000
parents 5fe8042783c1
children 32c366eeeb99
comparison
equal deleted inserted replaced
15546:6d16b2ef2489 15547:c2d75b47198d
120 } 120 }
121 121
122 buf->bufused += len; 122 buf->bufused += len;
123 } 123 }
124 124
125 gsize gaim_circ_buffer_get_max_read(GaimCircBuffer *buf) { 125 gsize gaim_circ_buffer_get_max_read(const GaimCircBuffer *buf) {
126 int max_read; 126 gsize max_read;
127 127
128 g_return_val_if_fail(buf != NULL, 0); 128 g_return_val_if_fail(buf != NULL, 0);
129 129
130 if (buf->bufused == 0) 130 if (buf->bufused == 0)
131 max_read = 0; 131 max_read = 0;