projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2dac9
)
sdb: changed adding port index from sdb to ecs (+1 -> +3)
author
jinhyung.jo
<jinhyung.jo@samsung.com>
Fri, 19 Jun 2015 04:44:06 +0000
(13:44 +0900)
committer
jinhyung.jo
<jinhyung.jo@samsung.com>
Fri, 19 Jun 2015 04:46:12 +0000
(13:46 +0900)
Change-Id: I3ab599c806eab5e477e813f36d9b5b5f1b2f2cb5
Signed-off-by: jinhyung.jo <jinhyung.jo@samsung.com>
tizen/src/util/sdb.c
patch
|
blob
|
history
diff --git
a/tizen/src/util/sdb.c
b/tizen/src/util/sdb.c
index
0d1c20b
..
89908df
100644
(file)
--- a/
tizen/src/util/sdb.c
+++ b/
tizen/src/util/sdb.c
@@
-161,6
+161,7
@@
int check_port_bind_listen(uint32_t port)
return ret;
}
+#define ECS_INDEX 3
void set_base_port(void)
{
int tries = 10;
@@
-173,7
+174,7
@@
void set_base_port(void)
if(base_port == 0){
for ( ; tries > 0; tries--, port += 10 ) {
- if(check_port_bind_listen(port +
1
) < 0 )
+ if(check_port_bind_listen(port +
ECS_INDEX
) < 0 )
continue;
success = 1;