zehortigoza pushed a commit to branch master.

commit 09bae8b373e1ad4404592a8d8a269d5b7a40136c
Author: José Roberto de Souza <[email protected]>
Date:   Mon Aug 19 15:26:01 2013 -0300

    ecore system: If by some reason name of locale changed dont have a '=' skip 
it
---
 src/modules/ecore/system/systemd/ecore_system_systemd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/ecore/system/systemd/ecore_system_systemd.c 
b/src/modules/ecore/system/systemd/ecore_system_systemd.c
index e843344..51aa2f4 100644
--- a/src/modules/ecore/system/systemd/ecore_system_systemd.c
+++ b/src/modules/ecore/system/systemd/ecore_system_systemd.c
@@ -155,6 +155,8 @@ static void _locale_get(void *data EINA_UNUSED, const 
Eldbus_Message *msg,
         type = buf;
 
         value = strchr(buf, '=');
+        if (!value)
+          continue;
         *value = 0;
         value++;
 

-- 

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk

Reply via email to