return useful info

SVN revision: 7032
This commit is contained in:
Carsten Haitzler 2003-06-16 13:39:42 +00:00
parent dfe36d9ad5
commit eccfb5727a
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ extern "C" {
* @return Success or failure of the write.
*
* This function will write the specified chunk of data to the eet file
* and return 1 on success. 0 will be returned on failure.
* and return greater than 0 on success. 0 will be returned on failure.
*
* The eet file handle must be a valid file handle for an eet file opened
* for writing. If it is not, 0 will be returned and no action will be

View File

@ -842,7 +842,7 @@ eet_write(Eet_File *ef, char *name, void *data, int size, int compress)
/* flags that writes are pending */
ef->writes_pending = 1;
/* update access time */
return size;
return data_size;
}
char **