[gssdp] client: Use utsname.release for version



commit 1880b860faf551158ef231f5f0e84319f102b5cd
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 06f26da..ee101a7 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -1203,7 +1203,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]