aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-exception.h')
-rw-r--r--camel/camel-exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-exception.h b/camel/camel-exception.h
index 0f4772e7ce..d5c93e5941 100644
--- a/camel/camel-exception.h
+++ b/camel/camel-exception.h
@@ -79,7 +79,7 @@ void camel_exception_xfer (CamelException *ex_dst,
ExceptionId camel_exception_get_id (CamelException *ex);
const gchar * camel_exception_get_description (CamelException *ex);
-
+#define camel_exception_is_set(ex) (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE)
#ifdef __cplusplus
}