Skip to content

Commit 00b2eab

Browse files
committed
Small fixes to chain.data and updated patches
1 parent d69af4e commit 00b2eab

File tree

7 files changed

+4195
-8
lines changed

7 files changed

+4195
-8
lines changed

Diff for: chain.data/chain.data.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,13 @@ void chain_data_dowrite(t_chain_data *x, t_symbol *s)
285285

286286
void chain_data_writefile(t_chain_data *x, char *filename, short path)
287287
{
288-
long message_size = (x->s_num_samples * (44)) + (3 * 20);
288+
long message_size = (x->s_num_samples * (44)) + 256;
289289
char buf[message_size];
290290

291291
// Write Header
292-
char header[128];
292+
char header[256];
293293
sprintf(header, "%s %ld %ld", x->s_metric_name->s_name, x->s_start, x->s_end);
294-
strncat(buf, header, 128);
294+
strncat(buf, header, 256);
295295

296296
// Write Values
297297
for (long i=0; i < x->s_num_samples; i++){

0 commit comments

Comments
 (0)