summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/abrt_dbus.h2
-rw-r--r--src/lib/run_event.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/abrt_dbus.h b/src/lib/abrt_dbus.h
index 37d12756..b7e7b566 100644
--- a/src/lib/abrt_dbus.h
+++ b/src/lib/abrt_dbus.h
@@ -50,7 +50,7 @@ extern DBusConnection* g_dbus_conn;
* conn = dbus_bus_get(DBUS_BUS_SYSTEM/SESSION, &err);
* // needed only if you need to use async dbus calls (not shown below):
* attach_dbus_conn_to_glib_main_loop(conn, NULL, NULL);
- * // syncronous method call:
+ * // synchronous method call:
* msg = dbus_message_new_method_call("some.serv", "/path/on/serv", "optional.iface.on.serv", "method_name");
* reply = dbus_connection_send_with_reply_and_block(conn, msg, timeout, &err);
* // emitting signal:
diff --git a/src/lib/run_event.c b/src/lib/run_event.c
index e577c383..883dc6d0 100644
--- a/src/lib/run_event.c
+++ b/src/lib/run_event.c
@@ -34,10 +34,10 @@ void free_run_event_state(struct run_event_state *state)
}
-/* Asyncronous command execution */
+/* Asynchronous command execution */
/* It is not yet clear whether we need to re-parse event config file
- * and re-check the elements in dump dir after each comamnd.
+ * and re-check the elements in dump dir after each command.
*
* Consider this config file:
*
@@ -322,9 +322,7 @@ int run_event_on_dir_name(struct run_event_state *state,
if (WIFSIGNALED(status))
retval = WTERMSIG(status) + 128;
if (retval != 0)
- {
break;
- }
if (state->post_run_callback)
{