summaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-06 23:06:30 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-07-06 23:06:30 -0700
commita24758ca0b7d2157787b620e322d52714367b27a (patch)
treecc8891aa4f8a9573277cd8142ef534ae05e698cb /src/error.c
parent3080fec78b40a1c4b71f22da3cb80cb67b9c1557 (diff)
downloadconnman-a24758ca0b7d2157787b620e322d52714367b27a.tar.gz
connman-a24758ca0b7d2157787b620e322d52714367b27a.tar.bz2
connman-a24758ca0b7d2157787b620e322d52714367b27a.zip
Convert EALREADY to proper error message
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 59b2a6a5..7c427176 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 EALREADY:
+ return __connman_error_already_connected(msg);
case EINPROGRESS:
return __connman_error_in_progress(msg);
}