mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-12 20:36:15 +01:00
gio: provide G_IO_ERROR_NOT_CONNECTED translation for ENOTCONN
https://bugzilla.gnome.org/show_bug.cgi?id=741016
This commit is contained in:
parent
22ab227348
commit
e0f1a19332
@ -248,6 +248,12 @@ g_io_error_from_errno (gint err_no)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ENOTCONN
|
||||||
|
case ENOTCONN:
|
||||||
|
return G_IO_ERROR_NOT_CONNECTED;
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return G_IO_ERROR_FAILED;
|
return G_IO_ERROR_FAILED;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user