projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f13618
)
Initialize app_bus_addr if p2p is disabled
author
Mike Gorse
<mgorse@novell.com>
Mon, 3 Jan 2011 18:43:37 +0000
(12:43 -0600)
committer
Mike Gorse
<mgorse@novell.com>
Mon, 3 Jan 2011 18:43:37 +0000
(12:43 -0600)
atk-adaptor/bridge.c
patch
|
blob
|
history
diff --git
a/atk-adaptor/bridge.c
b/atk-adaptor/bridge.c
index
6e74fcd
..
a1cfa90
100644
(file)
--- a/
atk-adaptor/bridge.c
+++ b/
atk-adaptor/bridge.c
@@
-321,6
+321,8
@@
app->app_bus_addr = g_malloc(max_addr_length * sizeof(char));
#ifndef DISABLE_P2P
sprintf(app->app_bus_addr, "unix:path=/tmp/at-spi2/socket-%d-%d", getpid(),
rand());
#ifndef DISABLE_P2P
sprintf(app->app_bus_addr, "unix:path=/tmp/at-spi2/socket-%d-%d", getpid(),
rand());
+#else
+ app->app_bus_addr [0] = '\0';
#endif
return TRUE;
#endif
return TRUE;