summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_client.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/lib/evas/cserve2/evas_cs2_client.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/lib/evas/cserve2/evas_cs2_client.c')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c b/src/lib/evas/cserve2/evas_cs2_client.c
index c65003f7d6..7609f4b8fd 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -507,7 +507,7 @@ evas_cserve2_shutdown(void)
507 507
508 if (cserve2_init <= 0) 508 if (cserve2_init <= 0)
509 { 509 {
510 CRIT("cserve2 is already shutdown"); 510 CRI("cserve2 is already shutdown");
511 return -1; 511 return -1;
512 } 512 }
513 513
@@ -2515,8 +2515,8 @@ _server_index_list_set(Msg_Base *data, int size)
2515 2515
2516 if (size != sizeof(*msg) || msg->base.type != CSERVE2_INDEX_LIST) 2516 if (size != sizeof(*msg) || msg->base.type != CSERVE2_INDEX_LIST)
2517 { 2517 {
2518 CRIT("Invalid message! type: %d, size: %d (expected %d)", 2518 CRI("Invalid message! type: %d, size: %d (expected %d)",
2519 msg->base.type, size, (int) sizeof(*msg)); 2519 msg->base.type, size, (int) sizeof(*msg));
2520 return -1; 2520 return -1;
2521 } 2521 }
2522 2522
@@ -2582,7 +2582,7 @@ _shared_string_internal_get(int id, Eina_Bool safe)
2582 2582
2583 if (!_index.strings_entries.data) 2583 if (!_index.strings_entries.data)
2584 { 2584 {
2585 CRIT("Strings table is not valid: no data"); 2585 CRI("Strings table is not valid: no data");
2586 return NULL; 2586 return NULL;
2587 } 2587 }
2588 2588
@@ -2622,7 +2622,7 @@ _shared_string_get(int id)
2622 2622
2623#define SHARED_INDEX_CHECK(si, typ) \ 2623#define SHARED_INDEX_CHECK(si, typ) \
2624 do { if (!_shared_index_remap_check(&(si), sizeof(typ))) { \ 2624 do { if (!_shared_index_remap_check(&(si), sizeof(typ))) { \
2625 CRIT("Failed to remap index"); return NULL; } } while (0) 2625 CRI("Failed to remap index"); return NULL; } } while (0)
2626 2626
2627static const File_Data * 2627static const File_Data *
2628_shared_image_entry_file_data_find(Image_Entry *ie) 2628_shared_image_entry_file_data_find(Image_Entry *ie)
@@ -2959,7 +2959,7 @@ _shared_image_entry_image_data_find(Image_Entry *ie)
2959 2959
2960 if (!ie->cache_key) 2960 if (!ie->cache_key)
2961 { 2961 {
2962 CRIT("Looking for an image in remote cache without hash key?"); 2962 CRI("Looking for an image in remote cache without hash key?");
2963 return NULL; 2963 return NULL;
2964 } 2964 }
2965 2965