diff --git a/src/libei.c b/src/libei.c index 8f5a732..668bda8 100644 --- a/src/libei.c +++ b/src/libei.c @@ -1475,10 +1475,10 @@ connection_dispatch(struct source *source, void *userdata) if (rc == -ECANCELED) log_info(ei, "Disconnected"); else if (rc) - log_warn(ei, "Connnection error: %s", strerror(-rc)); + log_warn(ei, "Connection error: %s", strerror(-rc)); if (old_state != ei->state) - log_debug(ei, "Connnection dispatch: %s -> %s", + log_debug(ei, "Connection dispatch: %s -> %s", states[old_state], states[ei->state]); }