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:
ff49e63
)
Fix warning.
author
Pierre Ossman
<ossman@cendio.se>
Thu, 5 Jan 2006 18:56:23 +0000
(18:56 +0000)
committer
Pierre Ossman
<ossman@cendio.se>
Thu, 5 Jan 2006 18:56:23 +0000
(18:56 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@381
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
polyp/socket-server.c
patch
|
blob
|
history
diff --git
a/polyp/socket-server.c
b/polyp/socket-server.c
index
096d8a4
..
f200212
100644
(file)
--- a/
polyp/socket-server.c
+++ b/
polyp/socket-server.c
@@
-377,7
+377,7
@@
char *pa_socket_server_get_address(struct pa_socket_server *s, char *c, size_t l
struct sockaddr_in sa;
socklen_t l = sizeof(sa);
- if (getsockname(s->fd, &sa, &l) < 0) {
+ if (getsockname(s->fd,
(struct sockaddr*)
&sa, &l) < 0) {
pa_log(__FILE__": getsockname() failed: %s\n", strerror(errno));
return NULL;
}