[gupnp] linux-cm: UDA version is not a pointer



commit cb6414f4a1097df92e9c819c14318132141fef8c
Author: Jens Georg <mail jensge org>
Date:   Sun Jan 13 19:05:32 2019 +0100

    linux-cm: UDA version is not a pointer

 libgupnp/gupnp-linux-context-manager.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgupnp/gupnp-linux-context-manager.c b/libgupnp/gupnp-linux-context-manager.c
index 2966087..4e01bde 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -279,7 +279,7 @@ network_device_create_context (NetworkInterface *device,
         guint port;
         GError *error = NULL;
         GUPnPContext *context;
-        GSSDPUDAVersion *version;
+        GSSDPUDAVersion version;
 
         if (g_hash_table_contains (device->contexts, address)) {
                 g_debug ("Context for address %s on %s already exists",
@@ -290,9 +290,9 @@ network_device_create_context (NetworkInterface *device,
         }
 
         g_object_get (device->manager,
-                        "port", &port,
-                        "uda-version", &version,
-                        NULL);
+                      "port", &port,
+                      "uda-version", &version,
+                      NULL);
 
         network_device_update_essid (device);
 


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