mirror of
https://github.com/0intro/wmii
synced 2025-02-07 18:04:54 +03:00
restored Sanders patch
This commit is contained in:
parent
14706f499a
commit
e872e07bb7
@ -39,6 +39,9 @@ write_data(unsigned int fid)
|
||||
}
|
||||
offset += len;
|
||||
}
|
||||
if(offset == 0) /* do an explicit empty write when no writing has been done yet */
|
||||
if(ixp_client_write(&c, fid, offset, 0, 0) != 0)
|
||||
fprintf(stderr, "wmiir: cannot write file: %s\n", c.errstr);
|
||||
free(data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user