diff --git a/src/voice_engine/main/test/cmd_test/voe_cmd_test.cc b/src/voice_engine/main/test/cmd_test/voe_cmd_test.cc index 7167f3042..cafcd1ab6 100644 --- a/src/voice_engine/main/test/cmd_test/voe_cmd_test.cc +++ b/src/voice_engine/main/test/cmd_test/voe_cmd_test.cc @@ -217,7 +217,7 @@ void run_test() { strcpy(ip, "127.0.0.1"); #else char localip[64]; - netw->GetLocalIP(localip, 64); + netw->GetLocalIP(localip); printf("local IP:%s\n", localip); printf("1. 127.0.0.1 \n"); @@ -305,7 +305,7 @@ void run_test() { res = hardware->GetNumOfPlayoutDevices(pd); VALIDATE; - char dn[64] = { 0 }; + char dn[128] = { 0 }; char guid[128] = { 0 }; printf("\nPlayout devices (%d): \n", pd); for (j=0; jGetNumOfPlayoutDevices(num_pd); VALIDATE; - char dn[64] = { 0 }; + char dn[128] = { 0 }; char guid[128] = { 0 }; printf("\nPlayout devices (%d): \n", num_pd); @@ -556,7 +556,7 @@ void run_test() { res = hardware->GetNumOfRecordingDevices(num_rd); VALIDATE; - char dn[64] = { 0 }; + char dn[128] = { 0 }; char guid[128] = { 0 }; printf("Recording devices (%d): \n", num_rd);