[rygel] core: Use the transfer mode header constant



commit 00f669bb046fc778f22f969ebeb6f0cff30094a7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Apr 12 00:30:17 2011 +0300

    core: Use the transfer mode header constant

 src/rygel/rygel-http-get-handler.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-http-get-handler.vala b/src/rygel/rygel-http-get-handler.vala
index 503c0a6..b77c5dd 100644
--- a/src/rygel/rygel-http-get-handler.vala
+++ b/src/rygel/rygel-http-get-handler.vala
@@ -40,7 +40,7 @@ internal abstract class Rygel.HTTPGetHandler: GLib.Object {
             // FIXME: Is it OK to just copy the value of this header from
             // request to response? All we do to entertain this header is to
             // set the priority of IO operations.
-            request.msg.response_headers.append ("transferMode.dlna.org", mode);
+            request.msg.response_headers.append (TRANSFER_MODE_HEADER, mode);
         }
 
         // Yes, I know this is not the ideal code to just get a specific



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