Pass a pcap_options * instead of a pcap_options **.

svn path=/trunk/; revision=37341
This commit is contained in:
Gerald Combs 2011-05-21 00:10:57 +00:00
parent c0922b93b6
commit 9be282951b
1 changed files with 4 additions and 4 deletions

View File

@ -1853,7 +1853,7 @@ cap_pipe_open_live(char *pipename,
}
}
#else /* USE_THREADS */
g_thread_create(&cap_pipe_read, &pcap_opts, FALSE, NULL);
g_thread_create(&cap_pipe_read, pcap_opts, FALSE, NULL);
pcap_opts->cap_pipe_buf = (char *) &magic;
pcap_opts->cap_pipe_bytes_read = 0;