Show
Ignore:
Timestamp:
04/14/07 15:48:15 (21 months ago)
Author:
aturner
Message:

fix buserror when sendpacket_open fails. fixes #137

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/sendpacket.c

    r1798 r1804  
    285285    sp = sendpacket_open_pcap(device, errbuf); 
    286286#endif 
    287     if (sp != NULL) 
     287    if (sp != NULL) { 
    288288        sp->open = 1; 
    289     sp->cache_dir = direction; 
     289        sp->cache_dir = direction; 
     290    } 
    290291    return sp; 
    291292}