projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644e4a0
)
core: Use proper error code for invalid channel
author
Jens Georg
<mail@jensge.org>
Fri, 11 May 2012 11:54:24 +0000
(13:54 +0200)
committer
Jens Georg
<mail@jensge.org>
Mon, 28 May 2012 17:11:58 +0000
(19:11 +0200)
src/rygel/rygel-rendering-control.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-rendering-control.vala
b/src/rygel/rygel-rendering-control.vala
index
581fff1
..
b50240f
100644
(file)
--- a/
src/rygel/rygel-rendering-control.vala
+++ b/
src/rygel/rygel-rendering-control.vala
@@
-171,7
+171,7
@@
internal class Rygel.RenderingControl : Service {
action.get ("Channel", typeof (string), out channel);
if (channel != "Master") {
- action.return_error (
501, _("Action Failed
"));
+ action.return_error (
703, _("Invalid Channel
"));
return false;
}