Skip to content
Snippets Groups Projects
Commit 0656fbc7 authored by Zhang Chen's avatar Zhang Chen Committed by Jason Wang
Browse files

net/colo-compare.c: Fix incorrect return when input wrong size


Signed-off-by: default avatarZhang Chen <chen.zhang@intel.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent fb5eca4a
No related branches found
No related tags found
No related merge requests found
......@@ -807,7 +807,7 @@ static int compare_chr_send(CompareState *s,
}
if (!size) {
return 0;
return -1;
}
entry = g_slice_new(SendEntry);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment