VirtualBox

Ignore:
Timestamp:
Oct 24, 2013 8:03:17 AM (11 years ago)
Author:
vboxsync
Message:

Main/HostDnsServiceLinux: Warning and spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/HostDnsServiceLinux.cpp

    r49235 r49268  
    1717
    1818#include <iprt/assert.h>
    19 #include <iprt/err.h> 
     19#include <iprt/err.h>
    2020#include <iprt/initterm.h>
    2121#include <iprt/file.h>
     
    5757
    5858    int fileDescriptor() const {return fd;}
    59    
     59
    6060    protected:
    6161    int fd;
     
    111111int HostDnsServiceLinux::hostMonitoringRoutine(RTTHREAD ThreadSelf, void *pvUser)
    112112{
     113    NOREF(ThreadSelf);
    113114    AutoNotify a;
    114115    HostDnsServiceLinux *dns = static_cast<HostDnsServiceLinux *>(pvUser);
     
    120121    FileDescriptor stopper0(g_DnsMonitorStop[0]);
    121122    FileDescriptor stopper1(g_DnsMonitorStop[1]);
    122    
     123
    123124    pollfd polls[2];
    124125    RT_ZERO(polls);
     
    137138        if (rc == -1)
    138139            continue;
    139        
    140         AssertMsgReturn(   ((polls[0].revents & (POLLERR|POLLNVAL)) == 0) 
    141                         && ((polls[1].revents & (POLLERR|POLLNVAL)) == 0), 
     140
     141        AssertMsgReturn(   ((polls[0].revents & (POLLERR|POLLNVAL)) == 0)
     142                        && ((polls[1].revents & (POLLERR|POLLNVAL)) == 0),
    142143                           ("Debug Me"), VERR_INTERNAL_ERROR);
    143        
     144
    144145        if (polls[1].revents & POLLIN)
    145146            return VINF_SUCCESS; /* time to shutdown */
    146        
     147
    147148        if (polls[0].revents & POLLIN)
    148149        {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette