projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb5eca4
)
net/colo-compare.c: Fix incorrect return when input wrong size
author
Zhang Chen
<chen.zhang@intel.com>
Thu, 18 Nov 2021 03:20:11 +0000
(11:20 +0800)
committer
Jason Wang
<jasowang@redhat.com>
Fri, 19 Nov 2021 03:44:22 +0000
(11:44 +0800)
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/colo-compare.c
patch
|
blob
|
history
diff --git
a/net/colo-compare.c
b/net/colo-compare.c
index 1225f40e41c0475919470d65c11b59946aad354c..b966e7e514d031f67d7ddd9a482d7d1ee4cb4d1d 100644
(file)
--- 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);