~foura/libacme

1597080e847d73678ccc1746350d1e29aa7e226b — james palmer 5 months ago 997dd8b
awinload: oops had these fds backwards
1 files changed, 2 insertions(+), 2 deletions(-)

M window.c
M window.c => window.c +2 -2
@@ 102,8 102,8 @@ awinload(AWin *w, char *file)
	}
		
	fprint(w->addrfd, ",");
	while((n = read(w->datafd, buf, sizeof(buf))) > 0)
		write(fd, buf, n);
	while((n = read(fd, buf, sizeof(buf))) > 0)
		write(w->datafd, buf, n);
		
	if(n < 0) {
		werrstr("awinload read failed: %r");