projects
/
platform
/
core
/
connectivity
/
smartcard-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to store the select response
[platform/core/connectivity/smartcard-service.git]
/
common
/
include
/
Channel.h
diff --git
a/common/include/Channel.h
b/common/include/Channel.h
index
2e0579f
..
fda7386
100644
(file)
--- a/
common/include/Channel.h
+++ b/
common/include/Channel.h
@@
-41,10
+41,10
@@
namespace smartcard_service_api
SessionHelper *session;
int channelNum;
SessionHelper *session;
int channelNum;
- Channel() :
Synchronous() { channelNum = -1;
}
- Channel(SessionHelper *session) :
Synchronous() { this->session = session;
}
+ Channel() :
session(NULL), channelNum(-1) {
}
+ Channel(SessionHelper *session) :
session(session), channelNum(-1) {
}
- inline void setSelectResponse(ByteArray
&
response) { selectResponse = response; }
+ inline void setSelectResponse(ByteArray response) { selectResponse = response; }
public :
virtual ~Channel() {};
public :
virtual ~Channel() {};