local service discovery fix

This commit is contained in:
Arvid Norberg 2009-11-13 02:51:07 +00:00
parent 8fdeeb0497
commit e3fa84c479
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ void lsd::announce(sha1_hash const& ih, int listen_port)
#endif
m_broadcast_timer.expires_from_now(milliseconds(250 * m_retry_count), ec);
m_broadcast_timer.async_wait(bind(&lsd::resend_announce, self(), _1, msg));
m_broadcast_timer.async_wait(bind(&lsd::resend_announce, self(), _1, std::string(msg)));
}
void lsd::resend_announce(error_code const& e, std::string msg)