Re: [libvirt] [PATCH] util: remove unnecessary needSize

2015-11-16 Thread Martin Kletzander
On Sat, Nov 14, 2015 at 02:56:06PM +0800, Chen Hanxiao wrote: From: Chen Hanxiao Use toadd->use directly. Signed-off-by: Chen Hanxiao --- src/util/virbuffer.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) ACK, good catch. Although

[libvirt] [PATCH] util: remove unnecessary needSize

2015-11-14 Thread Chen Hanxiao
From: Chen Hanxiao Use toadd->use directly. Signed-off-by: Chen Hanxiao --- src/util/virbuffer.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/util/virbuffer.c b/src/util/virbuffer.c index 5b338f8..55dad37 100644 ---

[libvirt] [PATCH] util: remove unnecessary needSize

2015-11-13 Thread Chen Hanxiao
From: Chen Hanxiao Use toadd->use directly. Signed-off-by: Chen Hanxiao --- src/util/virbuffer.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/util/virbuffer.c b/src/util/virbuffer.c index 5b338f8..55dad37 100644 ---