commit 701a0babe91bb8e11544113a3f3748782d589868
parent d1c40b332d9bb908df7694d19a60b2319a2a00fc
Author: Ricardo Mones <ricardo@mones.org>
Date: Fri, 19 Feb 2016 19:21:50 +0100
Fix a couple of typos
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/python/python_plugin.c b/src/plugins/python/python_plugin.c
@@ -634,7 +634,7 @@ done:
Py_XDECREF(meth_getvalue);
Py_XDECREF(result_getvalue);
- return retval ? retval : g_strdup("Unspecified error occured");
+ return retval ? retval : g_strdup("Unspecified error occurred");
}
static void log_func(const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data)
@@ -667,7 +667,7 @@ gint plugin_init(gchar **error)
/* The Python C API only offers to print an exception to sys.stderr. In order to catch it
* in a string, a StringIO object is created, to which sys.stderr can be redirected in case
- * an error occured. */
+ * an error occurred. */
inst_StringIO = get_StringIO_instance();
/* initialize Claws Mail Python module */