projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3916a66
)
use fqdn in module-x11-publish as well
author
Lennart Poettering
<lennart@poettering.net>
Tue, 9 Nov 2004 01:04:17 +0000
(
01:04
+0000)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 9 Nov 2004 01:04:17 +0000
(
01:04
+0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@278
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
polyp/module-x11-publish.c
patch
|
blob
|
history
diff --git
a/polyp/module-x11-publish.c
b/polyp/module-x11-publish.c
index
a488f6d
..
c862fe3
100644
(file)
--- a/
polyp/module-x11-publish.c
+++ b/
polyp/module-x11-publish.c
@@
-147,8
+147,11
@@
int pa__init(struct pa_core *c, struct pa_module*m) {
u->display = pa_x11_wrapper_get_display(u->x11_wrapper);
- pa_get_host_name(hn, sizeof(hn));
- pa_get_user_name(un, sizeof(un));
+ if (!pa_get_fqdn(hn, sizeof(hn)))
+ goto fail;
+
+ if (!pa_get_user_name(un, sizeof(un)))
+ goto fail;
u->id = pa_sprintf_malloc("%s@%s/%u", un, hn, (unsigned) getpid());