mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
clvmd: fix the len setting in last commit
When theoretically sending 0 length buffer, ensure 0 is returned.
This commit is contained in:
parent
5dc9402774
commit
6c892be4a5
@ -2002,7 +2002,7 @@ static void send_version_message(void)
|
||||
static int send_message(void *buf, int msglen, const char *csid, int fd,
|
||||
const char *errtext)
|
||||
{
|
||||
int len;
|
||||
int len = 0;
|
||||
int ptr;
|
||||
struct timespec delay;
|
||||
struct timespec remtime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user