Re: [libvirt] [PATCH] virsh-volume: Add missing check when calling virStreamNew

2013-09-29 Thread Hongwei Bi
2013/9/28 Martin Kletzander mklet...@redhat.com: On Thu, Sep 26, 2013 at 10:59:04AM +0800, Hongwei Bi wrote: Check return value of virStreamNew when called by cmdVolUpload and cmdVolDownload. --- tools/virsh-volume.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff

Re: [libvirt] [PATCH] virsh-volume: Add missing check when calling virStreamNew

2013-09-27 Thread Martin Kletzander
On Thu, Sep 26, 2013 at 10:59:04AM +0800, Hongwei Bi wrote: Check return value of virStreamNew when called by cmdVolUpload and cmdVolDownload. --- tools/virsh-volume.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/virsh-volume.c

[libvirt] [PATCH] virsh-volume: Add missing check when calling virStreamNew

2013-09-25 Thread Hongwei Bi
Check return value of virStreamNew when called by cmdVolUpload and cmdVolDownload. --- tools/virsh-volume.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/virsh-volume.c b/tools/virsh-volume.c index 7dab532..e8b0d9a 100644 --- a/tools/virsh-volume.c +++