Merge pull request #1318 from nfedera/fix-2013-06-25-02
libfreerdp-utils/pcap: open pcap in binary mode
This commit is contained in:
commit
bff4cbdf6f
@ -158,7 +158,7 @@ rdpPcap* pcap_open(char* name, BOOL write)
|
||||
{
|
||||
rdpPcap* pcap;
|
||||
|
||||
FILE* pcap_fp = fopen(name, write ? "w+" : "r");
|
||||
FILE* pcap_fp = fopen(name, write ? "w+b" : "rb");
|
||||
|
||||
if (pcap_fp == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user