gio: provide G_IO_ERROR_NOT_CONNECTED translation for ENOTCONN

https://bugzilla.gnome.org/show_bug.cgi?id=741016
parent 22ab2273
......@@ -248,6 +248,12 @@ g_io_error_from_errno (gint err_no)
break;
#endif
#ifdef ENOTCONN
case ENOTCONN:
return G_IO_ERROR_NOT_CONNECTED;
break;
#endif
default:
return G_IO_ERROR_FAILED;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment