Changeset 28296 in vbox for trunk/src/VBox/Main/DHCPServerRunner.cpp
- Timestamp:
- Apr 14, 2010 12:11:07 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60048
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DHCPServerRunner.cpp
r26186 r28296 58 58 { 59 59 for (unsigned i = 0; i < RT_ELEMENTS(g_aArgDefs); i++) 60 if (g_aArgDefs[i].Type == type)60 if (g_aArgDefs[i].Type == type) 61 61 return &g_aArgDefs[i]; 62 62 … … 140 140 bool DHCPServerRunner::isRunning() 141 141 { 142 if (mProcess == NIL_RTPROCESS)142 if (mProcess == NIL_RTPROCESS) 143 143 return false; 144 144 … … 146 146 int rc = RTProcWait(mProcess, RTPROCWAIT_FLAGS_NOBLOCK, &status); 147 147 148 if (rc == VERR_PROCESS_RUNNING)148 if (rc == VERR_PROCESS_RUNNING) 149 149 return true; 150 150
Note:
See TracChangeset
for help on using the changeset viewer.