projects
/
platform
/
core
/
telephony
/
libtcore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa875f
)
Removing '_' from CP Name. In DBUS TAPI, while creating object using telephony_object...
author
Suresh Kumar Narasimhaiah
<suresh.n@samsung.com>
Thu, 14 Mar 2013 18:21:25 +0000
(23:51 +0530)
committer
wootak.jung
<wootak.jung@samsung.com>
Sun, 24 Mar 2013 09:03:13 +0000
(18:03 +0900)
src/server.c
patch
|
blob
|
history
diff --git
a/src/server.c
b/src/server.c
index
7190365
..
0dd385f
100644
(file)
--- a/
src/server.c
+++ b/
src/server.c
@@
-139,7
+139,7
@@
static char *_server_enumerate_modem(TcorePlugin *plugin)
dbg("%s", filename);
- return g_strdup_printf("%s
_
%d", filename, cp_counter++);
+ return g_strdup_printf("%s%d", filename, cp_counter++);
}
static TcoreModem *_server_find_modem(Server *s,
@@
-791,7
+791,7
@@
char **tcore_server_get_cp_name_list(Server *s)
}
/* (+1) is considered for NULL string to define the last string */
- cp_name_list = g_try_new0(char *, list_count
+ 1
);
+ cp_name_list = g_try_new0(char *, list_count);
if (cp_name_list == NULL) {
err("Failed to allocate memory");
return NULL;