On Jun 9, 2014, at 1:43 PM, Jakub Zawadzki <[email protected]> wrote:

> On Mon, Jun 09, 2014 at 07:32:49PM +0200, Toralf Förster wrote:
> 
>> +        ws_close(f);
> 
>           ^^^ fclose(f) ?

Yes.

> ws_close() seems to be taking file descriptor.

Yes, it's just a #define for close on UN*X and for _close on Windows.  A FILE * 
is, obviously, closed by fclose() on all OSes, so no need for ws_fclose().

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to