Made 'wmiir create' also write whatever's available on stdin to the already open fid

This commit is contained in:
Kris Maglione 2006-06-22 22:53:54 -04:00
parent fed849e2fc
commit ffc6aa63ba
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ xcreate(char *file)
fprintf(stderr, "wmiir: cannot create file '%s': %s\n", p, c.errstr);
return -1;
}
write_data(fid);
return ixp_client_close(&c, fid);
}