Changeset 26478 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Feb 13, 2010 3:40:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/getoptargv.cpp
r26476 r26478 191 191 /* Parse and copy the string over. */ 192 192 RTUNICP CpQuote = 0; 193 RTUNICP Cp; 193 194 for (;;) 194 195 { 195 RTUNICP Cp;196 196 rc = RTStrGetCpEx(&pszSrc, &Cp); 197 if (RT_FAILURE(rc)) 198 break; 199 if (!Cp) 197 if (RT_FAILURE(rc) || !Cp) 200 198 break; 201 199 if (!CpQuote) … … 214 212 } 215 213 *pszDst++ = '\0'; 216 if (RT_FAILURE(rc) )214 if (RT_FAILURE(rc) || !Cp) 217 215 break; 218 216 }
Note:
See TracChangeset
for help on using the changeset viewer.