[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Typo in pcapif_helper.h?
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] Typo in pcapif_helper.h? |
Date: |
Thu, 24 Nov 2011 10:40:26 +0100 |
Gisle Vanem <address@hidden> wrote:
> src/contrib/ports/win32/pcapif_helper.h defines 'enum pcapifh_link_event',
> but returns 'enum pcapif_link_event' in some functions. Is that a typo?
> (a 'h' too much). I've written it as:
>
> enum pcapif_link_event {
> PCAPIF_LINKEVENT_UNKNOWN,
> PCAPIF_LINKEVENT_UP,
> PCAPIF_LINKEVENT_DOWN
> };
>
> and things compiles and runs fine now.
Yep, that's a type (the h is missing in some places). I wonder why MSVS doesn't
complain about the unknown enum...
Simon
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone