]> xenbits.xensource.com Git - libvirt.git/commit
virsh: fix return value in storage vol name completor
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 11 Feb 2019 14:21:35 +0000 (14:21 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 19 Feb 2019 16:06:46 +0000 (16:06 +0000)
commite97d7733fea2b6089ff706f19101f1226716350d
tree904e3c0dbd51ad81fcfb9cf9d9eb85a182304166
parenta4707584684f2773f90c70ca0e03c7c3b253a055
virsh: fix return value in storage vol name completor

The function must return a pointer, not a boolean. Fortunately 'false'
is equivalent to 'NULL' so this bug no had ill effect previously.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virsh-completer.c