projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3080fec
)
Convert EALREADY to proper error message
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 7 Jul 2009 06:06:30 +0000
(23:06 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 7 Jul 2009 06:06:30 +0000
(23:06 -0700)
src/error.c
patch
|
blob
|
history
diff --git
a/src/error.c
b/src/error.c
index
59b2a6a
..
7c42717
100644
(file)
--- 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);
}