X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=server.c;h=89a8137233c019df844f56d3a21bf841fd3fda15;hp=31123302ab239172980d51ebb73ef2822487ff5f;hb=7cb8fa26cfdcb3d34f8be2b86c48ffc6d7b9d84a;hpb=3dea10ab70acb8454f95f70849df98b17c496764 diff --git a/server.c b/server.c index 31123302..89a81372 100644 --- a/server.c +++ b/server.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2009 Andre Noll + * Copyright (C) 1997-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -425,7 +425,7 @@ static void init_server_command_task(int argc, char **argv) sct->task.post_select = command_post_select; sct->argc = argc; sct->argv = argv; - ret = para_listen(AF_UNSPEC, IPPROTO_TCP, conf.port_arg); + ret = para_listen_simple(IPPROTO_TCP, conf.port_arg); if (ret < 0) goto err; sct->listen_fd = ret;