Switch to unified view

a/libupnpp/device.cxx b/libupnpp/device.cxx
...
...
319
// event with all the current state.
319
// event with all the current state.
320
void UpnpDevice::eventloop()
320
void UpnpDevice::eventloop()
321
{
321
{
322
    int count = 0;
322
    int count = 0;
323
    const int loopwait_ms = 1000; // Polling the services every 1 S
323
    const int loopwait_ms = 1000; // Polling the services every 1 S
324
    const int nloopstofull = 100;  // Full state every 10 S
324
    const int nloopstofull = 10;  // Full state every 10 S
325
    struct timespec wkuptime, earlytime;
325
    struct timespec wkuptime, earlytime;
326
    bool didearly = false;
326
    bool didearly = false;
327
327
328
    for (;;) {
328
    for (;;) {
329
        clock_gettime(CLOCK_REALTIME, &wkuptime);
329
        clock_gettime(CLOCK_REALTIME, &wkuptime);