dovecot-2.2: lib-fs: Fixed fs_delete() API description.

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 11 17:25:56 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/dc4be035a038
changeset: 16018:dc4be035a038
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 11 17:25:46 2013 +0200
description:
lib-fs: Fixed fs_delete() API description.

diffstat:

 src/lib-fs/fs-api.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 20955c64bde3 -r dc4be035a038 src/lib-fs/fs-api.h
--- a/src/lib-fs/fs-api.h	Mon Mar 11 14:44:48 2013 +0200
+++ b/src/lib-fs/fs-api.h	Mon Mar 11 17:25:46 2013 +0200
@@ -152,8 +152,7 @@
 
 /* Returns 1 if file exists, 0 if not, -1 if error occurred. */
 int fs_exists(struct fs_file *file);
-/* Delete a file. Returns 1 if file was actually deleted by us,
-   0 if file didn't exist, -1 if error. */
+/* Delete a file. Returns 0 if file was actually deleted by us, -1 if error. */
 int fs_delete(struct fs_file *file);
 
 /* Returns 0 if ok, -1 if error occurred (e.g. errno=ENOENT).


More information about the dovecot-cvs mailing list