X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audioc.c;h=0c2049ad71cb06a77297d502d7acae7b3265e79e;hp=1402b64c492f24883e63d7391cee6cada4715591;hb=a6cbab95272b31c55b2b41e1d3dd55743c7c774f;hpb=c8862b9e246b4ef6ff1fe103946e18cf2537ecde diff --git a/audioc.c b/audioc.c index 1402b64c..0c2049ad 100644 --- a/audioc.c +++ b/audioc.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2008 Andre Noll + * Copyright (C) 2005-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -106,7 +106,12 @@ int main(int argc, char *argv[]) if (ret < 0) goto out; fd = ret; - + ret = mark_fd_nonblocking(fd); + if (ret < 0) + goto out; + ret = mark_fd_nonblocking(STDOUT_FILENO); + if (ret < 0) + goto out; ret = send_cred_buffer(fd, args); if (ret < 0) goto out;