[gssdp/gssdp_1.0] client: Use utsname.release for version



commit 3178e006561ed8bd4b42580813c7066dc059d97f
Author: Jens Georg <mail jensge org>
Date:   Sat Dec 22 14:44:15 2018 +0100

    client: Use utsname.release for version
    
    Seems version has the full-blown build number, distribution etc. details

 libgssdp/gssdp-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index 2e59e26..983cca8 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -1126,7 +1126,7 @@ make_server_id (void)
         
         return g_strdup_printf ("%s/%s GSSDP/%s",
                                 sysinfo.sysname,
-                                sysinfo.version,
+                                sysinfo.release,
                                 VERSION);
 #endif
 }


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