modified property value in log:%d -> 0x%x 48/53848/2
authorJeesun Kim <iamjs.kim@samsung.com>
Wed, 9 Dec 2015 23:10:20 +0000 (08:10 +0900)
committerJeesun Kim <iamjs.kim@samsung.com>
Wed, 9 Dec 2015 23:10:38 +0000 (08:10 +0900)
Change-Id: Ic449e559eed0b1de0354dbc28a56ae65f3c81f7c

13 files changed:
common/cal_record_alarm.c
common/cal_record_attendee.c
common/cal_record_calendar.c
common/cal_record_event.c
common/cal_record_extended.c
common/cal_record_instance_allday.c
common/cal_record_instance_allday_extended.c
common/cal_record_instance_normal.c
common/cal_record_instance_normal_extended.c
common/cal_record_search.c
common/cal_record_timezone.c
common/cal_record_todo.c
common/cal_record_updated_info.c

index da435f6..eb0100d 100644 (file)
@@ -140,7 +140,7 @@ static int _cal_record_alarm_get_str(calendar_record_h record, unsigned int prop
                *out_str = cal_strdup(rec->alarm_attach);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -161,7 +161,7 @@ static int _cal_record_alarm_get_str_p(calendar_record_h record, unsigned int pr
                *out_str = (rec->alarm_attach);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -185,7 +185,7 @@ static int _cal_record_alarm_get_int(calendar_record_h record, unsigned int prop
                *out_value = (rec->alarm_action);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -200,7 +200,7 @@ static int _cal_record_alarm_get_caltime(calendar_record_h record, unsigned int
                *out_value = rec->alarm;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return CALENDAR_ERROR_NONE;
@@ -223,7 +223,7 @@ static int _cal_record_alarm_set_str(calendar_record_h record, unsigned int prop
                rec->alarm_attach = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -268,7 +268,7 @@ static int _cal_record_alarm_set_int(calendar_record_h record, unsigned int prop
                }
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -283,7 +283,7 @@ static int _cal_record_alarm_set_caltime(calendar_record_h record, unsigned int
                rec->alarm = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return CALENDAR_ERROR_NONE;
index e644814..c205ca1 100644 (file)
@@ -163,7 +163,7 @@ static int _cal_record_attendee_get_str(calendar_record_h record, unsigned int p
                *out_str = cal_strdup(rec->attendee_member);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -199,7 +199,7 @@ static int _cal_record_attendee_get_str_p(calendar_record_h record, unsigned int
                *out_str = (rec->attendee_member);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -229,7 +229,7 @@ static int _cal_record_attendee_get_int(calendar_record_h record, unsigned int p
                *out_value = (rec->parent_id);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -273,7 +273,7 @@ static int _cal_record_attendee_set_str(calendar_record_h record, unsigned int p
                rec->attendee_member = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -303,7 +303,7 @@ static int _cal_record_attendee_set_int(calendar_record_h record, unsigned int p
                (rec->parent_id) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index c0fef4e..7813e5c 100644 (file)
@@ -175,7 +175,7 @@ static int _cal_record_calendar_get_str(calendar_record_h record, unsigned int p
                *out_str = cal_strdup(cal_rec->sync_data4);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -214,7 +214,7 @@ static int _cal_record_calendar_get_str_p(calendar_record_h record, unsigned int
                *out_str = (cal_rec->sync_data4);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -244,7 +244,7 @@ static int _cal_record_calendar_get_int(calendar_record_h record, unsigned int p
                *out_value = (cal_rec->mode);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -292,7 +292,7 @@ static int _cal_record_calendar_set_str(calendar_record_h record, unsigned int p
                cal_rec->sync_data4 = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -343,7 +343,7 @@ static int _cal_record_calendar_set_int(calendar_record_h record, unsigned int p
                (cal_rec->mode) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index ec6feb8..a29b32b 100644 (file)
@@ -336,7 +336,7 @@ static int _cal_record_event_get_str(calendar_record_h record, unsigned int prop
                *out_str = cal_strdup(rec->end_tzid);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -423,7 +423,7 @@ static int _cal_record_event_get_str_p(calendar_record_h record, unsigned int pr
                *out_str = (rec->end_tzid);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -515,7 +515,7 @@ static int _cal_record_event_get_double(calendar_record_h record, unsigned int p
                *out_value = (rec->longitude);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -553,7 +553,7 @@ static int _cal_record_event_get_caltime(calendar_record_h record, unsigned int
                *out_value = rec->until;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -665,7 +665,7 @@ static int _cal_record_event_set_str(calendar_record_h record, unsigned int prop
                rec->end_tzid = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -833,7 +833,7 @@ static int _cal_record_event_set_int(calendar_record_h record, unsigned int prop
                (rec->is_allday) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -851,7 +851,7 @@ static int _cal_record_event_set_double(calendar_record_h record, unsigned int p
                (rec->longitude) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -866,7 +866,7 @@ static int _cal_record_event_set_lli(calendar_record_h record, unsigned int prop
                (rec->created_time) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return CALENDAR_ERROR_NONE;
@@ -888,7 +888,7 @@ static int _cal_record_event_set_caltime(calendar_record_h record, unsigned int
                rec->until = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -944,7 +944,7 @@ static int _cal_record_event_add_child_record(calendar_record_h record, unsigned
                ret = calendar_list_add((calendar_list_h)rec->extended_list, child_record);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -973,7 +973,7 @@ static int _cal_record_event_remove_child_record(calendar_record_h record, unsig
                ret = calendar_list_remove((calendar_list_h)rec->extended_list, child_record);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
@@ -1001,7 +1001,7 @@ static int _cal_record_event_get_child_record_count(calendar_record_h record, un
                ret = calendar_list_get_count((calendar_list_h)rec->extended_list, (int *)count);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
@@ -1029,7 +1029,7 @@ static int _cal_record_event_get_child_record_at_p(calendar_record_h record, uns
                ret = cal_list_get_nth_record_p(rec->extended_list, index, child_record);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
@@ -1057,7 +1057,7 @@ static int _cal_record_event_clone_child_record_list(calendar_record_h record, u
                ret = cal_list_clone((calendar_list_h)rec->extended_list, out_list);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
index 82efe1f..081d78e 100644 (file)
@@ -131,7 +131,7 @@ static int _cal_record_extended_get_str(calendar_record_h record, unsigned int p
                *out_str = cal_strdup(rec->value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -149,7 +149,7 @@ static int _cal_record_extended_get_str_p(calendar_record_h record, unsigned int
                *out_str = (rec->value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -170,7 +170,7 @@ static int _cal_record_extended_get_int(calendar_record_h record, unsigned int p
                *out_value = (rec->record_type);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -190,7 +190,7 @@ static int _cal_record_extended_set_str(calendar_record_h record, unsigned int p
                rec->value = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -212,7 +212,7 @@ static int _cal_record_extended_set_int(calendar_record_h record, unsigned int p
                (rec->record_type) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index 981c1f0..9f86499 100644 (file)
@@ -171,7 +171,7 @@ static int _cal_record_instance_allday_get_str(calendar_record_h record, unsigne
                *out_str = cal_strdup(rec->sync_data1);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -195,7 +195,7 @@ static int _cal_record_instance_allday_get_str_p(calendar_record_h record, unsig
                *out_str = (rec->sync_data1);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -237,7 +237,7 @@ static int _cal_record_instance_allday_get_int(calendar_record_h record, unsigne
                *out_value = (rec->is_allday);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -255,7 +255,7 @@ static int _cal_record_instance_allday_get_double(calendar_record_h record, unsi
                *out_value = (rec->longitude);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -287,7 +287,7 @@ static int _cal_record_instance_allday_get_caltime(calendar_record_h record, uns
                *out_value = rec->end;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -315,7 +315,7 @@ static int _cal_record_instance_allday_set_str(calendar_record_h record, unsigne
                rec->sync_data1 = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -354,7 +354,7 @@ static int _cal_record_instance_allday_set_int(calendar_record_h record, unsigne
                (rec->original_event_id) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -372,7 +372,7 @@ static int _cal_record_instance_allday_set_double(calendar_record_h record, unsi
                (rec->longitude) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -390,7 +390,7 @@ static int _cal_record_instance_allday_set_caltime(calendar_record_h record, uns
                rec->end = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index 0502e7b..9b6a7ff 100644 (file)
@@ -196,7 +196,7 @@ static int _cal_record_instance_allday_extended_get_str(calendar_record_h record
                *out_str = cal_strdup(rec->sync_data4);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -235,7 +235,7 @@ static int _cal_record_instance_allday_extended_get_str_p(calendar_record_h reco
                *out_str = (rec->sync_data4);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -281,7 +281,7 @@ static int _cal_record_instance_allday_extended_get_int(calendar_record_h record
                break;
 
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -300,7 +300,7 @@ static int _cal_record_instance_allday_extended_get_double(calendar_record_h rec
                break;
 
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -332,7 +332,7 @@ static int _cal_record_instance_allday_extended_get_caltime(calendar_record_h re
                *out_value = rec->end;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -380,7 +380,7 @@ static int _cal_record_instance_allday_extended_set_str(calendar_record_h record
                rec->sync_data4 = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -422,7 +422,7 @@ static int _cal_record_instance_allday_extended_set_int(calendar_record_h record
                (rec->has_attendee) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -441,7 +441,7 @@ static int _cal_record_instance_allday_extended_set_double(calendar_record_h rec
                break;
 
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -459,7 +459,7 @@ static int _cal_record_instance_allday_extended_set_caltime(calendar_record_h re
                rec->end = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index 5c54b5f..9426dfc 100644 (file)
@@ -169,7 +169,7 @@ static int _cal_record_instance_normal_get_str(calendar_record_h record, unsigne
                *out_str = cal_strdup(rec->sync_data1);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -193,7 +193,7 @@ static int _cal_record_instance_normal_get_str_p(calendar_record_h record, unsig
                *out_str = (rec->sync_data1);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -232,7 +232,7 @@ static int _cal_record_instance_normal_get_int(calendar_record_h record, unsigne
                *out_value = (rec->original_event_id);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -251,7 +251,7 @@ static int _cal_record_instance_normal_get_double(calendar_record_h record, unsi
                break;
 
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -283,7 +283,7 @@ static int _cal_record_instance_normal_get_caltime(calendar_record_h record, uns
                *out_value = rec->end;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -311,7 +311,7 @@ static int _cal_record_instance_normal_set_str(calendar_record_h record, unsigne
                rec->sync_data1 = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -350,7 +350,7 @@ static int _cal_record_instance_normal_set_int(calendar_record_h record, unsigne
                (rec->original_event_id) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -369,7 +369,7 @@ static int _cal_record_instance_normal_set_double(calendar_record_h record, unsi
                break;
 
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -387,7 +387,7 @@ static int _cal_record_instance_normal_set_caltime(calendar_record_h record, uns
                rec->end = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index 6b60ce4..fa2a1b6 100644 (file)
@@ -194,7 +194,7 @@ static int _cal_record_instance_normal_extended_get_str(calendar_record_h record
                *out_str = cal_strdup(rec->sync_data4);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -233,7 +233,7 @@ static int _cal_record_instance_normal_extended_get_str_p(calendar_record_h reco
                *out_str = (rec->sync_data4);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -275,7 +275,7 @@ static int _cal_record_instance_normal_extended_get_int(calendar_record_h record
                *out_value = (rec->has_attendee);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -294,7 +294,7 @@ static int _cal_record_instance_normal_extended_get_double(calendar_record_h rec
                break;
 
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -326,7 +326,7 @@ static int _cal_record_instance_normal_extended_get_caltime(calendar_record_h re
                *out_value = rec->end;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -374,7 +374,7 @@ static int _cal_record_instance_normal_extended_set_str(calendar_record_h record
                rec->sync_data4 = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -416,7 +416,7 @@ static int _cal_record_instance_normal_extended_set_int(calendar_record_h record
                (rec->has_attendee) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -435,7 +435,7 @@ static int _cal_record_instance_normal_extended_set_double(calendar_record_h rec
                break;
 
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -453,7 +453,7 @@ static int _cal_record_instance_normal_extended_set_caltime(calendar_record_h re
                rec->end = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index 57852c2..486ceef 100644 (file)
@@ -154,7 +154,7 @@ static int _cal_record_search_get_str(calendar_record_h record, unsigned int pro
                                *out_str = cal_strdup(data->value.s);
                                break;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -175,7 +175,7 @@ static int _cal_record_search_get_str_p(calendar_record_h record, unsigned int p
                                *out_str = (data->value.s);
                                break;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -196,7 +196,7 @@ static int _cal_record_search_get_int(calendar_record_h record, unsigned int pro
                                *out_value = (data->value.i);
                                break;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -217,7 +217,7 @@ static int _cal_record_search_get_double(calendar_record_h record, unsigned int
                                *out_value = (data->value.d);
                                break;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -238,7 +238,7 @@ static int _cal_record_search_get_lli(calendar_record_h record, unsigned int pro
                                *out_value = (data->value.lli);
                                break;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -259,7 +259,7 @@ static int _cal_record_search_get_caltime(calendar_record_h record, unsigned int
                                *out_value = (data->value.caltime);
                                break;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -282,7 +282,7 @@ static int _cal_record_search_set_str(calendar_record_h record, unsigned int pro
                                (data->value.s) = cal_strdup(value);
                                return CALENDAR_ERROR_NONE;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -310,7 +310,7 @@ static int _cal_record_search_set_int(calendar_record_h record, unsigned int pro
                                (data->value.i) = value;
                                return CALENDAR_ERROR_NONE;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -338,7 +338,7 @@ static int _cal_record_search_set_double(calendar_record_h record, unsigned int
                                (data->value.d) = value;
                                return CALENDAR_ERROR_NONE;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -366,7 +366,7 @@ static int _cal_record_search_set_lli(calendar_record_h record, unsigned int pro
                                (data->value.lli) = value;
                                return CALENDAR_ERROR_NONE;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
@@ -394,7 +394,7 @@ static int _cal_record_search_set_caltime(calendar_record_h record, unsigned int
                                (data->value.caltime) = value;
                                return CALENDAR_ERROR_NONE;
                        } else {
-                               ERR("invalid parameter (property:%d)", data->property_id);
+                               ERR("invalid parameter (property:0x%x)", data->property_id);
                                return CALENDAR_ERROR_INVALID_PARAMETER;
                        }
                }
index 381fec6..f6b5bfa 100644 (file)
@@ -142,7 +142,7 @@ static int _cal_record_timezone_get_str(calendar_record_h record, unsigned int p
                *out_str = cal_strdup(rec->day_light_name);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -160,7 +160,7 @@ static int _cal_record_timezone_get_str_p(calendar_record_h record, unsigned int
                *out_str = (rec->day_light_name);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -211,7 +211,7 @@ static int _cal_record_timezone_get_int(calendar_record_h record, unsigned int p
                *out_value = (rec->calendar_id);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -231,7 +231,7 @@ static int _cal_record_timezone_set_str(calendar_record_h record, unsigned int p
                rec->day_light_name = cal_strdup(value);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -282,7 +282,7 @@ static int _cal_record_timezone_set_int(calendar_record_h record, unsigned int p
                (rec->calendar_id) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
index ba9c439..fededfb 100644 (file)
@@ -307,7 +307,7 @@ static int _cal_record_todo_get_str(calendar_record_h record, unsigned int prope
                *out_str = cal_strdup(rec->organizer_email);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -385,7 +385,7 @@ static int _cal_record_todo_get_str_p(calendar_record_h record, unsigned int pro
                *out_str = (rec->organizer_email);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -442,7 +442,7 @@ static int _cal_record_todo_get_int(calendar_record_h record, unsigned int prope
                *out_value = (rec->is_allday);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -460,7 +460,7 @@ static int _cal_record_todo_get_double(calendar_record_h record, unsigned int pr
                *out_value = (rec->longitude);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -481,7 +481,7 @@ static int _cal_record_todo_get_lli(calendar_record_h record, unsigned int prope
                *out_value = (rec->completed_time);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -502,7 +502,7 @@ static int _cal_record_todo_get_caltime(calendar_record_h record, unsigned int p
                *out_value = rec->until;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -714,7 +714,7 @@ static int _cal_record_todo_set_int(calendar_record_h record, unsigned int prope
                (rec->is_allday) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -732,7 +732,7 @@ static int _cal_record_todo_set_double(calendar_record_h record, unsigned int pr
                (rec->longitude) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -750,7 +750,7 @@ static int _cal_record_todo_set_lli(calendar_record_h record, unsigned int prope
                (rec->created_time) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -771,7 +771,7 @@ static int _cal_record_todo_set_caltime(calendar_record_h record, unsigned int p
                (rec->until) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -820,7 +820,7 @@ static int _cal_record_todo_add_child_record(calendar_record_h record, unsigned
                ret = calendar_list_add((calendar_list_h)rec->extended_list, child_record);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
@@ -846,7 +846,7 @@ static int _cal_record_todo_remove_child_record(calendar_record_h record, unsign
                ret = calendar_list_remove((calendar_list_h)rec->extended_list, child_record);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
@@ -871,7 +871,7 @@ static int _cal_record_todo_get_child_record_count(calendar_record_h record, uns
                ret = calendar_list_get_count((calendar_list_h)rec->extended_list, (int *)count);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
@@ -896,7 +896,7 @@ static int _cal_record_todo_get_child_record_at_p(calendar_record_h record, unsi
                ret = cal_list_get_nth_record_p(rec->extended_list, index, child_record);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
@@ -921,7 +921,7 @@ static int _cal_record_todo_clone_child_record_list(calendar_record_h record, un
                ret = cal_list_clone((calendar_list_h)rec->extended_list, out_list);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
        return ret;
index 84409fc..2d03d10 100644 (file)
@@ -118,7 +118,7 @@ static int _cal_record_updated_info_get_int(calendar_record_h record, unsigned i
                *out_value = (rec->version);
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }
 
@@ -142,7 +142,7 @@ static int _cal_record_updated_info_set_int(calendar_record_h record, unsigned i
                (rec->version) = value;
                break;
        default:
-               ERR("invalid parameter (property:%d)", property_id);
+               ERR("invalid parameter (property:0x%x)", property_id);
                return CALENDAR_ERROR_INVALID_PARAMETER;
        }