Mercurial > audlegacy
diff audacious/controlsocket.c @ 2042:0985452d1962 trunk
[svn] - clean up some internal audacious controlsocket functions
- document the controlsocket API
author | nenolod |
---|---|
date | Mon, 04 Dec 2006 01:23:15 -0800 |
parents | 6cbb9360e8e2 |
children | b89947411061 |
line wrap: on
line diff
--- a/audacious/controlsocket.c Mon Dec 04 01:01:13 2006 -0800 +++ b/audacious/controlsocket.c Mon Dec 04 01:23:15 2006 -0800 @@ -105,7 +105,7 @@ gint i; gint fd; - audacious_set_session_type((gint *) AUDACIOUS_TYPE_UNIX); + audacious_set_session_type(AUDACIOUS_TYPE_UNIX); if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) { g_critical("ctrlsocket_setup(): Failed to open socket: %s", @@ -163,7 +163,7 @@ gint i; gint fd; - audacious_set_session_type((gint *) AUDACIOUS_TYPE_TCP); + audacious_set_session_type(AUDACIOUS_TYPE_TCP); if ((fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) { g_critical("ctrlsocket_setup(): Failed to open socket: %s",