Commit 6f6d40ce41b8bce57db9c88b8a04386eb0d944b0
1 parent
a66a2b04
// join_buf --> realloc. Marcat per a implementar amb realloc en comptes de free+alloc
Showing
1 changed file
with
1 additions
and
1 deletions
Project/applications/smartcities/buffer.c
@@ -80,7 +80,7 @@ for(j=0;j<4;j++){ | @@ -80,7 +80,7 @@ for(j=0;j<4;j++){ | ||
80 | } | 80 | } |
81 | 81 | ||
82 | } | 82 | } |
83 | - | 83 | +//realloc |
84 | char** join_buf(char** buf, uint32_t *buf_len){ | 84 | char** join_buf(char** buf, uint32_t *buf_len){ |
85 | char** n_buf; | 85 | char** n_buf; |
86 | int len= *buf_len; | 86 | int len= *buf_len; |