summaryrefslogtreecommitdiff
path: root/obexd/src
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2016-05-11 18:57:16 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2016-05-11 19:55:57 +0900
commit5ed0bdb94c9d76d2d40791e3adf784734000dad2 (patch)
treeda07df928552efc280edb27daea5e33b3c0a2b29 /obexd/src
parentb87b1cf6dfb7a8ae093da3dc681e43543c79018a (diff)
downloadbluez-5ed0bdb94c9d76d2d40791e3adf784734000dad2.tar.gz
bluez-5ed0bdb94c9d76d2d40791e3adf784734000dad2.tar.bz2
bluez-5ed0bdb94c9d76d2d40791e3adf784734000dad2.zip
Fix the crash when SET_PATH command is recieved
This patchset is related with TC_MSE_MMB_BV_09_I PTS testcase. Change-Id: I96cbea2d315182bc934e9684e6be447c2bdaf351 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'obexd/src')
-rw-r--r--[-rwxr-xr-x]obexd/src/obex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index d62839f1..580b12ef 100755..100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -643,8 +643,8 @@ static void parse_name(struct obex_session *os, GObexPacket *req)
if (!g_obex_header_get_unicode(hdr, &name))
return;
#ifdef __TIZEN_PATCH__
- DBG("TYPE===>: %s", os->type);
- if (name && strcmp(os->type, "x-bt/phonebook")) {
+ DBG("Obex Session For: %s", os->service->name);
+ if (name && g_strcmp0(os->service->name, "Object Push server") == 0) {
char *new_name;
new_name = strrchr(name, '/');
if (new_name) {