[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [libvirt-php PATCH v2 2/4] Storagepool: make flag for pool refresh optional



---
 src/libvirt-php.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libvirt-php.c b/src/libvirt-php.c
index b43da7a..4835e59 100644
--- a/src/libvirt-php.c
+++ b/src/libvirt-php.c
@@ -3058,7 +3058,7 @@ PHP_FUNCTION(libvirt_storagepool_refresh)
 	zval *zpool;
 	unsigned long flags = 0;
 
-	GET_STORAGEPOOL_FROM_ARGS ("rl", &zpool, &flags);
+	GET_STORAGEPOOL_FROM_ARGS ("r|l", &zpool, &flags);
 
 	if (virStoragePoolRefresh (pool->pool, flags) < 0)
 	{
-- 
1.7.3.4
S


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]