gui: Make some functions return void.
[paraslash.git] / grab_client.c
index e96fed36bc2146a1eed39a879581d0a5298c5fbc..07f779bd172ac5f83f78d53e133881b94cc54ef3 100644 (file)
@@ -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)