comparison ui.c @ 631:2c6945599b16

Rename a define.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 21 Jun 2014 20:01:17 +0300
parents 199fd3371035
children 5269a8cdbd96
comparison
equal deleted inserted replaced
630:46fcab5ff44e 631:2c6945599b16
30 { 30 {
31 nn_window_t *res = th_calloc(1, sizeof(nn_window_t)); 31 nn_window_t *res = th_calloc(1, sizeof(nn_window_t));
32 32
33 if (res == NULL) return NULL; 33 if (res == NULL) return NULL;
34 34
35 res->data = th_ringbuf_new(NN_BACKBUF_LEN, nn_line_free); 35 res->data = th_ringbuf_new(SET_BACKBUF_LEN, nn_line_free);
36 if (res->data == NULL) 36 if (res->data == NULL)
37 { 37 {
38 th_free(res); 38 th_free(res);
39 return NULL; 39 return NULL;
40 } 40 }