diff options
-rw-r--r-- | extcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -779,7 +779,7 @@ gboolean extcap_create_pipe(char ** fifo) gchar *temp_name = NULL; int fd = 0; - if ( ( fd = create_tempfile ( &temp_name, EXTCAP_PIPE_PREFIX ) ) == 0 ) + if ((fd = create_tempfile(&temp_name, EXTCAP_PIPE_PREFIX)) < 0 ) return FALSE; ws_close(fd); |