diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-06 23:06:30 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-06 23:06:30 -0700 |
commit | a24758ca0b7d2157787b620e322d52714367b27a (patch) | |
tree | cc8891aa4f8a9573277cd8142ef534ae05e698cb /src/error.c | |
parent | 3080fec78b40a1c4b71f22da3cb80cb67b9c1557 (diff) | |
download | connman-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.c | 2 |
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); } |