tog-pegasus/pegasus-2.13.0-build-fix.patch
2013-09-03 12:30:53 +02:00

20 lines
757 B
Diff

diff -up pegasus/src/slp/slp_agent/peg_slp_agent.cpp.orig pegasus/src/slp/slp_agent/peg_slp_agent.cpp
--- pegasus/src/slp/slp_agent/peg_slp_agent.cpp.orig 2013-08-27 16:04:10.154370312 +0200
+++ pegasus/src/slp/slp_agent/peg_slp_agent.cpp 2013-08-27 16:06:20.281855366 +0200
@@ -584,7 +584,6 @@ PEGASUS_THREAD_CDECL slp_service_agent::
agent->_should_listen = 1;
- lslpMsg msg_list;
while (agent->_should_listen.get())
{
Uint32 now, msec;
@@ -675,6 +674,7 @@ PEGASUS_THREAD_CDECL slp_service_agent::
{
}
#else
+ lslpMsg msg_list;
agent->_rep->service_listener(agent->_rep, 0, &msg_list);
_LSLP_SLEEP(1);
if (agent->_update_reg_count.get() && agent->_should_listen.get())