From ae1af66724a96707231dd41d5f543b6abee7bd36 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 27 Jun 2008 09:44:14 +0000 Subject: [PATCH] fixed typo. Fixes #355 --- src/upnp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upnp.cpp b/src/upnp.cpp index 5de9bf156..d4cc8a4ca 100644 --- a/src/upnp.cpp +++ b/src/upnp.cpp @@ -82,7 +82,7 @@ upnp::upnp(io_service& ios, connection_queue& cc if (state) { - upnp_state_t* s = (upnp_state_t*)s; + upnp_state_t* s = (upnp_state_t*)state; m_devices.swap(s->devices); m_mappings.swap(s->mappings); delete s;