[Spice-devel] [PATCH] typo: use #ifdef instead of #if

Fabiano FidĂȘncio fidencio at redhat.com
Fri Jan 22 01:59:55 PST 2016


This typo was introduced by commit 5166f891e and unfortunately was not
caught during the review.
---
 src/usb-device-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c
index 647edd0..6e12602 100644
--- a/src/usb-device-manager.c
+++ b/src/usb-device-manager.c
@@ -393,7 +393,7 @@ static void spice_usb_device_manager_get_property(GObject     *gobject,
         break;
     case PROP_FREE_CHANNELS: {
         int free_channels = 0;
-#if USE_USBREDIR
+#ifdef USE_USBREDIR
         int i;
         for (i = 0; i < priv->channels->len; i++) {
             SpiceUsbredirChannel *channel = g_ptr_array_index(priv->channels, i);
-- 
2.5.0



More information about the Spice-devel mailing list