diff options
-rw-r--r-- | src/mds-registry/slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-registry/slave.c b/src/mds-registry/slave.c index 8799cf4..b7f0456 100644 --- a/src/mds-registry/slave.c +++ b/src/mds-registry/slave.c @@ -40,7 +40,7 @@ */ static int slave_notify_client(slave_t* slave) { - char buf[sizeof("To: %s\nIn response to: %s\nMessage ID: %" PRIu32 "\n\n") / sizeof(char) + 40]; + char buf[sizeof("To: %s\nIn response to: %s\nMessage ID: %" PRIu32 "\n\n") / sizeof(char) + 41]; size_t ptr = 0, sent, left; /* Construct message headers. */ |