[rygel] core: Style fixes for previous commit
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Style fixes for previous commit
- Date: Thu, 13 Nov 2014 22:07:28 +0000 (UTC)
commit f937338130f72dfd1aed4c2edabcfa81c3d1036c
Author: Jens Georg <mail jensge org>
Date: Thu Nov 13 23:06:52 2014 +0100
core: Style fixes for previous commit
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-core/rygel-basic-management.vala | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/librygel-core/rygel-basic-management.vala b/src/librygel-core/rygel-basic-management.vala
index 2b2966e..0de2192 100644
--- a/src/librygel-core/rygel-basic-management.vala
+++ b/src/librygel-core/rygel-basic-management.vala
@@ -252,8 +252,9 @@ public class Rygel.BasicManagement : Service {
out dscp);
if (host == "") {
- message ("Ping action : Host is empty !");
+ warning (_("Cannot run 'Ping' action: Host is empty"));
action.return_error (402, _("Invalid argument"));
+
return;
}
@@ -344,8 +345,9 @@ public class Rygel.BasicManagement : Service {
out interval_time_out);
if (hostname == "") {
- message ("NSLookup action : Host is empty !");
+ warning (_("Cannot run 'NSLookup' action: HostName is empty"));
action.return_error (402, _("Invalid argument"));
+
return;
}
@@ -425,8 +427,9 @@ public class Rygel.BasicManagement : Service {
out dscp);
if (host == "") {
- message ("Traceroute action : Host is empty !");
+ warning (_("Cannot run 'Traceroute action': Host is empty"));
action.return_error (402, _("Invalid argument"));
+
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]