projects
/
platform
/
core
/
convergence
/
d2d-conv-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983c36d
)
Added exceptions on websocket creation
65/87265/1
author
kmook
<kmook.choi@samsung.com>
Wed, 7 Sep 2016 07:33:02 +0000
(16:33 +0900)
committer
kmook
<kmook.choi@samsung.com>
Wed, 7 Sep 2016 07:33:02 +0000
(16:33 +0900)
Change-Id: I0c61c8366353134c8b487c34d9f3be913063af6b
Signed-off-by: kmook <kmook.choi@samsung.com>
msf_tizen_client/src/Channel.cpp
patch
|
blob
|
history
diff --git
a/msf_tizen_client/src/Channel.cpp
b/msf_tizen_client/src/Channel.cpp
index
4357b99
..
eda4e09
100755
(executable)
--- a/
msf_tizen_client/src/Channel.cpp
+++ b/
msf_tizen_client/src/Channel.cpp
@@
-1241,6
+1241,11
@@
void Channel::create_websocket(void *att) {
MSF_DBG("Creating libwebsocket context failed\n");
return;
}
+
+ if (uri.empty()) {
+ MSF_DBG("uri is empty");
+ return;
+ }
n = 0;
get_ip_port_from_uri(uri, &server_ip_address, &server_port);
string api = getapifromUri(uri);