[polypaudio-commits] r598 - in /trunk/src/polypcore: socket-client.c winsock.h
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Fri Feb 24 08:28:03 PST 2006
Author: ossman
Date: Fri Feb 24 17:28:02 2006
New Revision: 598
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=598&root=polypaudio&view=rev
Log:
Wrong variable used for port.
Modified:
trunk/src/polypcore/socket-client.c
trunk/src/polypcore/winsock.h
Modified: trunk/src/polypcore/socket-client.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/socket-client.c?rev=598&root=polypaudio&r1=597&r2=598&view=diff
==============================================================================
--- trunk/src/polypcore/socket-client.c (original)
+++ trunk/src/polypcore/socket-client.c Fri Feb 24 17:28:02 2006
@@ -489,7 +489,7 @@
s.sin_family = AF_INET;
memcpy(&s.sin_addr, host->h_addr, sizeof(struct in_addr));
- s.sin_port = port;
+ s.sin_port = htons(a.port);
if ((c = pa_socket_client_new_sockaddr(m, &s, sizeof(s))))
start_timeout(c);
Modified: trunk/src/polypcore/winsock.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/winsock.h?rev=598&root=polypaudio&r1=597&r2=598&view=diff
==============================================================================
--- trunk/src/polypcore/winsock.h (original)
+++ trunk/src/polypcore/winsock.h Fri Feb 24 17:28:02 2006
@@ -18,6 +18,8 @@
#ifdef HAVE_WS2TCPIP_H
#include <ws2tcpip.h>
+static const struct in6_addr in6addr_any = {{ IN6ADDR_ANY_INIT }};
+static const struct in6_addr in6addr_loopback = {{ IN6ADDR_LOOPBACK_INIT }};
#endif
#endif
More information about the pulseaudio-commits
mailing list