Enlightenment CVS committal
Author : handyande
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_config
Modified Files:
ecore_config.c
Log Message:
Allow null strings
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- ecore_config.c 6 Dec 2004 21:15:29 -0000 1.55
+++ ecore_config.c 2 Jan 2005 21:51:13 -0000 1.56
@@ -564,9 +564,7 @@
if (!(e->key = strdup(key)))
goto ret_free_nte;
- if (!val)
- e->type = PT_NIL;
- else if (ecore_config_typed_val(e, val, type) == ECORE_CONFIG_ERR_OOM)
+ if (ecore_config_typed_val(e, val, type) == ECORE_CONFIG_ERR_OOM)
goto ret_free_key;
e->next = t ? t->data : NULL;
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs