[libdmapsharing] Do not use literal "VERSION"; use VERSION macro



commit bd00cb9d86425e612ec5c63972533c3720136127
Author: W. Michael Petullo <mike flyn org>
Date:   Fri Nov 11 20:22:50 2016 -0500

    Do not use literal "VERSION"; use VERSION macro
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773480
    
    Signed-off-by: W. Michael Petullo <mike flyn org>

 libdmapsharing/daap-share.c |    2 +-
 libdmapsharing/dpap-share.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libdmapsharing/daap-share.c b/libdmapsharing/daap-share.c
index 063639c..798cadc 100644
--- a/libdmapsharing/daap-share.c
+++ b/libdmapsharing/daap-share.c
@@ -185,7 +185,7 @@ daap_share_message_add_standard_headers (DMAPShare * share,
                                         SoupMessage * message)
 {
        soup_message_headers_append (message->response_headers, "DMAP-Server",
-                                    "libdmapsharing" "VERSION");
+                                    "libdmapsharing" VERSION);
 }
 
 #define DMAP_VERSION 2.0
diff --git a/libdmapsharing/dpap-share.c b/libdmapsharing/dpap-share.c
index 827e6e8..72ef344 100644
--- a/libdmapsharing/dpap-share.c
+++ b/libdmapsharing/dpap-share.c
@@ -191,7 +191,7 @@ dpap_share_message_add_standard_headers (DMAPShare * share,
                                         SoupMessage * message)
 {
        soup_message_headers_append (message->response_headers, "DPAP-Server",
-                                    "libdmapsharing" "VERSION");
+                                    "libdmapsharing" VERSION);
 }
 
 #define DMAP_VERSION 2.0


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