summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-06 23:04:03 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-07-06 23:04:03 -0700
commit3080fec78b40a1c4b71f22da3cb80cb67b9c1557 (patch)
tree28cac17b8c61724f9ac8c761203b1bf85990e6fd
parent1642eaee45116a86f144daba93dd50b682745f20 (diff)
downloadconnman-3080fec78b40a1c4b71f22da3cb80cb67b9c1557.tar.gz
connman-3080fec78b40a1c4b71f22da3cb80cb67b9c1557.tar.bz2
connman-3080fec78b40a1c4b71f22da3cb80cb67b9c1557.zip
Convert EINPROGRESS to proper error message
-rw-r--r--src/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 6fc15a8b..59b2a6a5 100644
--- a/src/error.c
+++ b/src/error.c
@@ -39,6 +39,8 @@ DBusMessage *__connman_error_failed(DBusMessage *msg, int errnum)
return __connman_error_permission_denied(msg);
case EINVAL:
return __connman_error_invalid_arguments(msg);
+ case EINPROGRESS:
+ return __connman_error_in_progress(msg);
}
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE