diff options
Diffstat (limited to 'src/fuse/connection.h')
-rw-r--r-- | src/fuse/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuse/connection.h b/src/fuse/connection.h index 58017dd..be0115e 100644 --- a/src/fuse/connection.h +++ b/src/fuse/connection.h @@ -16,11 +16,11 @@ struct _dnbd3_async; typedef struct _dnbd3_async { struct _dnbd3_async *next; // Next in this linked list (provate field, not set by caller) - char* buffer; // Caller-provided buffer to be filled ticks time; // When request was put on wire, 0 if not measuring uint64_t offset; uint32_t length; fuse_req_t fuse_req; + char buffer[]; // Must be last member! } dnbd3_async_t; bool connection_init( const char *hosts, const char *image, const uint16_t rid, const bool learnNewServers ); |