|
From: | Jason Wang |
Subject: | Re: [PATCH 2/2] net/colo-compare.c: Fix incorrect return when input wrong size |
Date: | Fri, 19 Nov 2021 11:19:36 +0800 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 |
在 2021/11/18 上午11:20, Zhang Chen 写道:
Signed-off-by: Zhang Chen <chen.zhang@intel.com> ---
Applied. Thanks
net/colo-compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/colo-compare.c b/net/colo-compare.c index 1225f40e41..b966e7e514 100644 --- a/net/colo-compare.c +++ b/net/colo-compare.c @@ -807,7 +807,7 @@ static int compare_chr_send(CompareState *s, }if (!size) {- return 0; + return -1; }entry = g_slice_new(SendEntry);
[Prev in Thread] | Current Thread | [Next in Thread] |