Turning a NULL URI instead the empty string is very misleading when
reading the debug logs as the distinction between the two is
functionally important.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/libvirt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index 22efd4da95..7055f8e317 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -920,7 +920,7 @@ virConnectOpenInternal(const char *name,
goto failed;
VIR_DEBUG("%s driver URI probe returned '%s'",
virConnectDriverTab[i]->hypervisorDriver->name,
- NULLSTR_EMPTY(uristr));
+ NULLSTR(uristr));
}
}
}
--
2.21.0