[rygel] core: Return proper error on invalid instance id
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [rygel] core: Return proper error on invalid instance id
- Date: Mon, 28 May 2012 17:28:01 +0000 (UTC)
commit c16f206116f343b2483c5a8c563a5e718041d708
Author: Jens Georg <mail jensge org>
Date:   Thu May 10 15:47:13 2012 +0200
    core: Return proper error on invalid instance id
 src/rygel/rygel-av-transport.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-av-transport.vala b/src/rygel/rygel-av-transport.vala
index 195e0e8..2e970b8 100644
--- a/src/rygel/rygel-av-transport.vala
+++ b/src/rygel/rygel-av-transport.vala
@@ -218,7 +218,7 @@ internal class Rygel.AVTransport : Service {
         }
 
         if (instance_id != 0) {
-            action.return_error (702, _("Invalid InstanceID"));
+            action.return_error (718, _("Invalid InstanceID"));
 
             return false;
         }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]