aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-12 17:12:44 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-12 17:12:44 +0200
commitd69860c79a93845b78bbeafafbf04d12c60e63fa (patch)
tree269dd121080cd8c64191e15f40386e045572d69f
parent03f863dd080d32f71c4a0755c02e23c72e4cb342 (diff)
fix typo
Change-Id: I83473a69d8af4d39d1ef7eba9c324a6bbb0364fc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-api-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-api-dbus.c b/src/afb-api-dbus.c
index b8ec3d02..13cbf7db 100644
--- a/src/afb-api-dbus.c
+++ b/src/afb-api-dbus.c
@@ -756,7 +756,7 @@ static void afb_api_dbus_server_listener_free(struct listener *listener)
free(listener);
}
-static struct listener *afb_api_dbus_server_listerner_get(struct api_dbus *api, const char *sender, struct afb_session *session)
+static struct listener *afb_api_dbus_server_listener_get(struct api_dbus *api, const char *sender, struct afb_session *session)
{
int rc;
struct listener *listener;
@@ -982,7 +982,7 @@ static int api_dbus_server_on_object_called(sd_bus_message *message, void *userd
session = dreq->xreq.context.session;
/* get the listener */
- listener = afb_api_dbus_server_listerner_get(api, sd_bus_message_get_sender(message), session);
+ listener = afb_api_dbus_server_listener_get(api, sd_bus_message_get_sender(message), session);
if (listener == NULL)
goto out_of_memory;