Commit 626cebb5 authored by Jonathan Jenkins's avatar Jonathan Jenkins

Bump lp-io ID buffer to account for large modelnet io prefix

parent 7ffb0be3
...@@ -20,7 +20,7 @@ struct io_buffer ...@@ -20,7 +20,7 @@ struct io_buffer
struct identifier struct identifier
{ {
char identifier[32]; char identifier[64];
struct io_buffer *buffers; struct io_buffer *buffers;
int buffers_count; int buffers_count;
int buffers_total_size; int buffers_total_size;
...@@ -42,7 +42,7 @@ int lp_io_write(tw_lpid gid, char* identifier, int size, void* buffer) ...@@ -42,7 +42,7 @@ int lp_io_write(tw_lpid gid, char* identifier, int size, void* buffer)
struct identifier* id; struct identifier* id;
struct io_buffer *buf; struct io_buffer *buf;
if(strlen(identifier) >= 32) if(strlen(identifier) >= 64)
{ {
fprintf(stderr, "Error: identifier %s too big.\n", identifier); fprintf(stderr, "Error: identifier %s too big.\n", identifier);
return(-1); return(-1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment