Commit Graph

16 Commits

Author SHA1 Message Date
Thomas Bernard 8325b715d3 miniupnpc-libevent: handle error cases 2014-11-25 23:51:59 +01:00
Thomas Bernard b642e74124 miniupnpc-libevent.c: upnpc_conn_close_cb() only in DEBUG mode 2014-11-25 23:50:56 +01:00
Mike Gelfand c490b42547 Fix _POSIX_C_SOURCE definition
Current code makes use of `snprintf` function defined in C99 standard
but _POSIX_C_SOURCE is set to "1" which is not correct. To access C99
definitions, this macro should be set to at least "200112L".

Also, `strncasecmp` function is being used but corresponding <strings.h>
header is not being included in miniwget.c.

Changes have been tested on FreeBSD 10.1 amd64 with default compiler
(Clang).
2014-11-19 17:06:14 +03:00
Thomas Bernard d4bf4c7572 miniupnpc-libevent: add upnpc_get_status_info() 2014-11-18 10:31:59 +01:00
Thomas Bernard b6896d5c08 miniupnpc-libevent: WIN32 => _WIN32 2014-11-17 20:33:11 +01:00
Thomas Bernard d44d16a688 igd_desc_parse.c: define printIGD() only in DEBUG 2014-11-17 20:32:41 +01:00
Thomas Bernard fa414c5bb6 allow to build miniupnpc-libevent with MacPorts 2014-11-17 17:29:52 +01:00
Thomas Bernard 7264fa53a9 miniupnpc-libevent: remove unecessary files 2014-11-17 17:29:24 +01:00
Thomas Bernard bd8ba03b54 miniupnpc-libevent: try with several M-SEARCH requests 2014-11-17 11:15:18 +01:00
Thomas Bernard 3065bc570f miniupnpc-libevent: use service type from root description 2014-11-17 10:22:34 +01:00
Thomas Bernard cbd262749f miniupnpc-libevent/upnpc-libevent.c: detect local IP address and use it 2014-11-14 12:39:58 +01:00
Thomas Bernard 3bf2398903 miniupnpc-libevent: add upnpc_delete_port_mapping() 2014-11-14 12:39:15 +01:00
Thomas Bernard e8a9db9fb1 miniupnpc-libevent/upnpc-libevent.c: various 2014-11-13 10:47:55 +01:00
Thomas Bernard 60cc52fee9 miniupnpc-libevent.c: various cosmetic issues 2014-11-13 10:22:05 +01:00
Thomas Bernard b4895f2247 miniupnpc-libevent.c: clean up 2014-11-13 10:21:17 +01:00
Thomas Bernard b33f4b343a Adding miniupnpc-libevent 2014-11-12 16:56:35 +01:00