From: Jani Nikula Date: Sat, 17 Dec 2016 11:05:40 +0000 (+0200) Subject: lib: fix the todo comment placement on NOTMUCH_STATUS_XAPIAN_EXCEPTION X-Git-Tag: 0.24_rc0~53 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=217404ff86bd88cd8ef5f2e659bd8d06b95c2f62 lib: fix the todo comment placement on NOTMUCH_STATUS_XAPIAN_EXCEPTION The todo comment got separated from the status it's related to at commit 3f32fd8a1c06 ("Add missing comment for NOTMUCH_STATUS_READONLY_DATABASE."). Later, commit b65ca8e0ba5e ("lib: modify notmuch.h for automatic document generation") moved it, but to the wrong place. Fix the location. --- diff --git a/lib/notmuch.h b/lib/notmuch.h index 18678c0a..59cd0f56 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -126,15 +126,15 @@ typedef enum _notmuch_status { NOTMUCH_STATUS_READ_ONLY_DATABASE, /** * A Xapian exception occurred. + * + * @todo We don't really want to expose this lame XAPIAN_EXCEPTION + * value. Instead we should map to things like DATABASE_LOCKED or + * whatever. */ NOTMUCH_STATUS_XAPIAN_EXCEPTION, /** * An error occurred trying to read or write to a file (this could * be file not found, permission denied, etc.) - * - * @todo We don't really want to expose this lame XAPIAN_EXCEPTION - * value. Instead we should map to things like DATABASE_LOCKED or - * whatever. */ NOTMUCH_STATUS_FILE_ERROR, /**