X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=grab_client.c;h=07f779bd172ac5f83f78d53e133881b94cc54ef3;hp=ef3f34a76216e3b677e82e435ef5d5f947667891;hb=32ffc06c0706f51c3f1dc436911836f1f9aa326e;hpb=9de1287d67c9562e9140c6dc7deb0c01c4e10cc0 diff --git a/grab_client.c b/grab_client.c index ef3f34a7..07f779bd 100644 --- a/grab_client.c +++ b/grab_client.c @@ -76,7 +76,7 @@ static int gc_write(struct grab_client *gc, char *buf, size_t len) if (gc->mode == GM_SLOPPY) return len; } - ret = write_nonblock(gc->fd, buf, len); + ret = xwrite(gc->fd, buf, len); if (ret < 0) goto err; if (ret > 0) @@ -140,6 +140,8 @@ static void gc_activate(struct grab_client *gc, struct sched *s) /** * Activate inactive grab clients if possible. * + * \param s Needed to schedule the grab client task. + * * This is called from audiod.c when the current audio file changes. It loops * over all inactive grab clients and checks each grab client's configuration * to determine if the client in question wishes to grab the new stream. If