]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - dccp_send.c
build: Replace $extras by per-executable variable.
[paraslash.git] / dccp_send.c
index b3bd6263ab39acdddee033053c92f2432e801123..3979982c725da1b6e83966b6ac6887cb2cfae2a6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2011 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -104,7 +104,7 @@ static int dccp_init_fec(struct sender_client *sc)
 
 static void dccp_send_fec(struct sender_client *sc, char *buf, size_t len)
 {
-       int ret = write_nonblock(sc->fd, buf, len);
+       int ret = xwrite(sc->fd, buf, len);
 
        if (ret < 0)
                dccp_shutdown_client(sc);