Changeset 25414 in vbox for trunk/src/VBox/Main/HostImpl.cpp
- Timestamp:
- Dec 15, 2009 4:27:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r25412 r25414 427 427 char *cdromEnv = strdup(RTEnvGet("VBOX_CDROM")); 428 428 char *saveStr = NULL; 429 char *cdromDrive; 430 cdromDrive = strtok_r(cdromEnv, ":", &saveStr); 429 char *cdromDrive = NULL; 430 if (cdromEnv) 431 cdromDrive = strtok_r(cdromEnv, ":", &saveStr); 431 432 while (cdromDrive) 432 433 {
Note:
See TracChangeset
for help on using the changeset viewer.