raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7d0c5a942378287ead37c6e8b459d9d874f761d2

commit 7d0c5a942378287ead37c6e8b459d9d874f761d2
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Oct 6 11:29:16 2015 +0900

    eldbus - only do syntax checks if libdbus is new enough
---
 src/lib/eldbus/eldbus_message.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/eldbus/eldbus_message.c b/src/lib/eldbus/eldbus_message.c
index 56f87d2..f18196c 100644
--- a/src/lib/eldbus/eldbus_message.c
+++ b/src/lib/eldbus/eldbus_message.c
@@ -108,6 +108,9 @@ eldbus_message_method_call_new(const char *dest, const char 
*path, const char *i
    EINA_SAFETY_ON_NULL_RETURN_VAL(iface, NULL);
    EINA_SAFETY_ON_NULL_RETURN_VAL(method, NULL);
 
+#ifdef DBUS_SYNTAX_H
+   // added to libdbus:
+   // f426c6cddd158d6324923f28117bc8e512d6f64f Fri Feb 24 12:43:55 2012 +0000 
    if (!dbus_validate_bus_name(dest, NULL))
      {
         ERR("Invalid bus name '%s'", dest);
@@ -123,6 +126,7 @@ eldbus_message_method_call_new(const char *dest, const char 
*path, const char *i
         ERR("Invalid interface '%s'", iface);
         return NULL;
      }
+#endif
 
    msg = eldbus_message_new(EINA_TRUE);
    EINA_SAFETY_ON_NULL_GOTO(msg, fail);

-- 


Reply via email to