/*
- * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2011 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
para_strdup("stat");
if (conf.socket_given)
- ret = create_remote_socket(conf.socket_arg);
+ ret = connect_local_socket(conf.socket_arg);
else {
char *hn = para_hostname(), *socket_name = make_message(
"/var/paraslash/audiod_socket.%s", hn);
- ret = create_remote_socket(socket_name);
+ ret = connect_local_socket(socket_name);
free(hn);
free(socket_name);
}
if (ret < 0) {
- PARA_EMERG_LOG("failed to create remote socket\n");
+ PARA_EMERG_LOG("failed to connect to local socket\n");
goto out;
}
fd = ret;