vss: need_audio_header(): Change return value to bool.
[paraslash.git] / net.c
diff --git a/net.c b/net.c
index be637ec7a5e24e7d1856ed21370139d7a05c5a2c..64602a4bf60e7ce934f230cb0ae9d63f5ec404f5 100644 (file)
--- a/net.c
+++ b/net.c
@@ -941,15 +941,17 @@ err:
  * This function creates a local socket for sequenced, reliable, two-way,
  * connection-based byte streams.
  *
- * \return The file descriptor, on success, negative on errors.
+ * \return The file descriptor of the connected socket on success, negative on
+ * errors.
  *
  * \sa create_local_socket(), unix(7), connect(2).
  */
-int create_remote_socket(const char *name)
+int connect_local_socket(const char *name)
 {
        struct sockaddr_un unix_addr;
        int fd, ret;
 
+       PARA_DEBUG_LOG("connecting to %s\n", name);
        ret = init_unix_addr(&unix_addr, name);
        if (ret < 0)
                return ret;