Question

Adayadil Thomas <[email protected]>
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
Hi all,

Greetings!
I have a question. Please help.

        printf("Save file is %s\n", saveFile);
        pd = pcap_dump_open(pf, saveFile);
        if (pd == PNUL)
        {
                printf("Pcap open dump failed \n" );
                exit(1);
        }


If I comment the printf line, I get a core dump on the pcap_dump_open call
If i uncomment, it works fine.


Any explanation/help/tips is appreciated.

-thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.