Change-Id: Ia1fb37801da4e72306c9b1522156dda2547bdeec
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
Name: mtp-responder
Summary: Media Transfer Protocol daemon (responder)
-Version: 0.0.24
+Version: 0.0.25
Release: 1
Group: Network & Connectivity/Other
License: Apache-2.0
{
mtp_int32 res;
+ if (tid == 0) {
+ ERR("tid is NULL\n");
+ return FALSE;
+ }
+
res = pthread_cancel(tid);
if (res != 0) {
- ERR("pthread_cancel Fail [%d] errno [%d]\n", tid, errno);
+ ERR("pthread_cancel Fail [%d] errno [%d]\n", tid, errno);
return FALSE;
}