summaryrefslogtreecommitdiff
path: root/src/bin/ethumb_client/ethumbd.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:22:05 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:27:13 +0900
commit76d8532b5465362f85b75a2a7a5cc3c419304a92 (patch)
tree73482a7b3a246f56d555fd206903db683b14c6aa /src/bin/ethumb_client/ethumbd.c
parent10dd650d90d050889771f88d8b01eb7c1f51b0bd (diff)
efl: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
Diffstat (limited to 'src/bin/ethumb_client/ethumbd.c')
-rw-r--r--src/bin/ethumb_client/ethumbd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/ethumb_client/ethumbd.c b/src/bin/ethumb_client/ethumbd.c
index 5d583688b7..d8140aa925 100644
--- a/src/bin/ethumb_client/ethumbd.c
+++ b/src/bin/ethumb_client/ethumbd.c
@@ -51,7 +51,7 @@
51#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__) 51#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__)
52#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__) 52#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__)
53#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__) 53#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__)
54#define CRIT(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__) 54#define CRI(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__)
55 55
56static const char _ethumb_dbus_bus_name[] = "org.enlightenment.Ethumb"; 56static const char _ethumb_dbus_bus_name[] = "org.enlightenment.Ethumb";
57static const char _ethumb_dbus_interface[] = "org.enlightenment.Ethumb"; 57static const char _ethumb_dbus_interface[] = "org.enlightenment.Ethumb";
@@ -786,7 +786,7 @@ _ethumb_table_append(Ethumbd *ed)
786 tmp = realloc(q->table, new_max * sizeof(Ethumbd_Object)); 786 tmp = realloc(q->table, new_max * sizeof(Ethumbd_Object));
787 if (!tmp) 787 if (!tmp)
788 { 788 {
789 CRIT("could not realloc q->table to %zd bytes: %s", 789 CRI("could not realloc q->table to %zd bytes: %s",
790 new_max * sizeof(Ethumbd_Object), strerror(errno)); 790 new_max * sizeof(Ethumbd_Object), strerror(errno));
791 return -1; 791 return -1;
792 } 792 }
@@ -796,7 +796,7 @@ _ethumb_table_append(Ethumbd *ed)
796 tmp = realloc(q->list, new_max * sizeof(int)); 796 tmp = realloc(q->list, new_max * sizeof(int));
797 if (!tmp) 797 if (!tmp)
798 { 798 {
799 CRIT("could not realloc q->list to %zd bytes: %s", 799 CRI("could not realloc q->list to %zd bytes: %s",
800 new_max * sizeof(int), strerror(errno)); 800 new_max * sizeof(int), strerror(errno));
801 return -1; 801 return -1;
802 } 802 }
@@ -813,7 +813,7 @@ _ethumb_table_append(Ethumbd *ed)
813 813
814 if (i >= q->max_count) 814 if (i >= q->max_count)
815 { 815 {
816 CRIT("cannot find free table slot in table of %i", q->max_count); 816 CRI("cannot find free table slot in table of %i", q->max_count);
817 return -1; 817 return -1;
818 } 818 }
819 819