Commit 0a130c8b authored by LRN's avatar LRN Committed by Alexander Larsson

win32: Fix warning

parent c237338b
......@@ -341,7 +341,7 @@ main (int ignored_argc, char **ignored_argv)
fd_toclose = g_slist_append (fd_toclose, GINT_TO_POINTER (i));
/* we won't get the nasty off-by-1 file descriptor leak */
g_slist_append (fd_toclose, NULL);
fd_toclose = g_slist_append (fd_toclose, NULL);
last_item = g_slist_last (fd_toclose);
/* now close all the file descriptors as necessary */
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