Fix build on !unix

There was one code block still referring to fd_list outside of
the ifdef G_OS_UNIX. Pointed out by Sam Thursfield in bug 627392.
This commit is contained in:
Matthias Clasen 2010-08-21 22:14:28 -04:00
parent 41ce91d057
commit 040bffed38

View File

@ -1007,6 +1007,7 @@ write_message_continue_writing (MessageToWriteData *data)
#endif
else
{
#ifdef G_OS_UNIX
if (fd_list != NULL)
{
g_simple_async_result_set_error (simple,
@ -1018,6 +1019,7 @@ write_message_continue_writing (MessageToWriteData *data)
g_object_unref (simple);
goto out;
}
#endif
g_output_stream_write_async (ostream,
(const gchar *) data->blob + data->total_written,