diff --git a/obexd/client/map.c b/obexd/client/map.c
index 8cdebb3..319d60e 100644
--- a/obexd/client/map.c
+++ b/obexd/client/map.c
dbus_message_iter_get_basic(&array, &string);
if (!g_ascii_strcasecmp(string, "sms"))
- types |= 0x03; /* SMS_GSM and SMS_CDMA */
+ types |= 0x03; /* sms-gsm and sms-cdma */
else if (!g_ascii_strcasecmp(string, "email"))
- types |= 0x04; /* EMAIL */
+ types |= 0x04; /* email */
else if (!g_ascii_strcasecmp(string, "mms"))
- types |= 0x08; /* MMS */
+ types |= 0x08; /* mms */
else
return NULL;
}
diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index 432fd7b..326db4b 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
{
gchar *path = NULL, *tmp, *tmp1;
- if (!g_ascii_strcasecmp(location, "INT") ||
- !g_ascii_strcasecmp(location, "INTERNAL"))
+ if (!g_ascii_strcasecmp(location, "int") ||
+ !g_ascii_strcasecmp(location, "internal"))
path = g_strdup("/telecom");
- else if (!g_ascii_strncasecmp(location, "SIM", 3)) {
+ else if (!g_ascii_strncasecmp(location, "sim", 3)) {
if (strlen(location) == 3)
- tmp = g_strdup("SIM1");
+ tmp = g_strdup("sim1");
else
tmp = g_ascii_strup(location, 4);
} else
return NULL;
- if (!g_ascii_strcasecmp(item, "PB") ||
- !g_ascii_strcasecmp(item, "ICH") ||
- !g_ascii_strcasecmp(item, "OCH") ||
- !g_ascii_strcasecmp(item, "MCH") ||
- !g_ascii_strcasecmp(item, "CCH")) {
+ if (!g_ascii_strcasecmp(item, "pb") ||
+ !g_ascii_strcasecmp(item, "ich") ||
+ !g_ascii_strcasecmp(item, "och") ||
+ !g_ascii_strcasecmp(item, "mch") ||
+ !g_ascii_strcasecmp(item, "cch")) {
tmp = path;
tmp1 = g_ascii_strdown(item, -1);
path = g_build_filename(tmp, tmp1, NULL);
diff --git a/obexd/client/sync.c b/obexd/client/sync.c
index 1c9a5f9..1a4b482 100644
--- a/obexd/client/sync.c
+++ b/obexd/client/sync.c
return g_dbus_create_error(message,
ERROR_INF ".InvalidArguments", NULL);
- if (!g_ascii_strcasecmp(location, "INT") ||
- !g_ascii_strcasecmp(location, "INTERNAL"))
+ if (!g_ascii_strcasecmp(location, "int") ||
+ !g_ascii_strcasecmp(location, "internal"))
path = g_strdup("telecom/pb.vcf");
- else if (!g_ascii_strncasecmp(location, "SIM", 3)) {
+ else if (!g_ascii_strncasecmp(location, "sim", 3)) {
tmp = g_ascii_strup(location, 4);
path = g_build_filename(tmp, "telecom/pb.vcf", NULL);
g_free(tmp);