Changeset 23707 in vbox for trunk/src/VBox/Main
- Timestamp:
- Oct 12, 2009 5:26:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl-LiveMigration.cpp
r23703 r23707 543 543 /* Read and check the welcome message. */ 544 544 char szLine[RT_MAX(128, sizeof(g_szWelcome))]; 545 RT_ZERO(szLine); 545 546 vrc = RTTcpRead(pState->mhSocket, szLine, sizeof(g_szWelcome) - 1, NULL); 546 547 if (RT_FAILURE(vrc)) 547 548 return setError(E_FAIL, tr("Failed to read welcome message: %Rrc"), vrc); 548 549 if (strcmp(szLine, g_szWelcome)) 549 return setError(E_FAIL, tr("Unexpected welcome '%s'"), szLine);550 return setError(E_FAIL, tr("Unexpected welcome %.*Rhxs"), sizeof(g_szWelcome) - 1, szLine); 550 551 551 552 /* password */
Note:
See TracChangeset
for help on using the changeset viewer.