Commit: 1b5abf42bc0ca4a7619e3068ebec6a1b433d2a32
Parent: 97c4d64f66ae04cd7fe552013ab833d59b3dd358
Author: Mariusz Skamra <mariusz.skamra@codecoup.pl>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2021-08-04 17:50:55
Tree: 4d64a3efb33c2c35fc4a2397861cb93d606486ce

monitor: Fix truncated server socket path parameter This fixes the issue of --server <socket> parameter last character was dropped. There is no need to use strncpy, as the length is already checked, and it is known that the destination buffer is big enough

Diffstat

M monitor/control.c | 6 ++- - - -

1 files changed, 2 insertions(+), 4 deletions(-)

View Full Diff | Patch