X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.c;h=0464eb77de8918f8b38d5a41c5a792212a271c5f;hp=2b748f255fb0f494bfac0eb786e756b7d9509123;hb=25518356767bd60bd03ac2f9c6b2381644483925;hpb=d85a4f1b82409779b45d5c9c215baaceefb6e4a1 diff --git a/afs.c b/afs.c index 2b748f25..0464eb77 100644 --- a/afs.c +++ b/afs.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Andre Noll + * Copyright (C) 2007-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -233,7 +233,7 @@ int send_callback_request(callback_function *f, struct osl_object *query, *(uint32_t *) buf = afs_socket_cookie; *(int *) (buf + sizeof(afs_socket_cookie)) = query_shmid; - ret = create_remote_socket(conf.afs_socket_arg); + ret = connect_local_socket(conf.afs_socket_arg); if (ret < 0) goto out; fd = ret; @@ -468,7 +468,6 @@ again: } ret = open_and_update_audio_file(aft_row, score, &afd); if (ret < 0) { - PARA_ERROR_LOG("%s\n", para_strerror(-ret)); ret = score_delete(aft_row); if (ret < 0) { PARA_ERROR_LOG("%s\n", para_strerror(-ret)); @@ -951,7 +950,7 @@ static void register_command_task(uint32_t cookie) ct->task.pre_select = command_pre_select; ct->task.post_select = command_post_select; - sprintf(ct->task.status, "command task"); + sprintf(ct->task.status, "afs command task"); register_task(&ct->task); }