summaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-17 18:21:59 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-17 18:21:59 +0200
commit6a70ddabb056d5ca6cb6f65191c75be930258b0e (patch)
tree6198bf1132dfcbca047f657c044c3ded70e5a92f /src/error.c
parent2395f8888cd08a6c2c7efaa080c4c5eb0723b09d (diff)
downloadconnman-6a70ddabb056d5ca6cb6f65191c75be930258b0e.tar.gz
connman-6a70ddabb056d5ca6cb6f65191c75be930258b0e.tar.bz2
connman-6a70ddabb056d5ca6cb6f65191c75be930258b0e.zip
Handle error for operation aborted case
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 1cebaa93..fe1251d7 100644
--- a/src/error.c
+++ b/src/error.c
@@ -45,6 +45,8 @@ DBusMessage *__connman_error_failed(DBusMessage *msg, int errnum)
return __connman_error_no_carrier(msg);
case EOPNOTSUPP:
return __connman_error_not_supported(msg);
+ case ECONNABORTED:
+ return __connman_error_operation_aborted(msg);
case EISCONN:
return __connman_error_already_connected(msg);
case ENOTCONN: