Mercurial > hg > th-libs
comparison th_datastruct.c @ 627:964657ad0960
Indentation cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 17 Jan 2020 19:14:36 +0200 |
parents | 98c8bd80f633 |
children | 140e2272471c |
comparison
equal
deleted
inserted
replaced
626:98c8bd80f633 | 627:964657ad0960 |
---|---|
341 if (buf->data != NULL) | 341 if (buf->data != NULL) |
342 { | 342 { |
343 memset(buf->data + buf->size, 0, sizeof(char *) * n); | 343 memset(buf->data + buf->size, 0, sizeof(char *) * n); |
344 buf->size += n; | 344 buf->size += n; |
345 return TRUE; | 345 return TRUE; |
346 } else | 346 } |
347 else | |
347 return FALSE; | 348 return FALSE; |
348 } | 349 } |
349 | 350 |
350 | 351 |
351 void th_ringbuf_free(th_ringbuf_t *buf) | 352 void th_ringbuf_free(th_ringbuf_t *buf) |