Get the right guid str for GetRecordingDeviceName

Bug=http://code.google.com/p/webrtc/issues/detail?id=99
Test=none
Review URL: http://webrtc-codereview.appspot.com/183002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@652 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
xians@google.com
2011-09-27 14:43:06 +00:00
parent 82f66a776f
commit 49d025f262

View File

@ -271,7 +271,7 @@ int VoEHardwareImpl::GetRecordingDeviceName(int index,
if (strGuidUTF8 != NULL)
{
strncpy(strGuidUTF8, name, strLen);
strncpy(strGuidUTF8, guid, strLen);
WEBRTC_TRACE(kTraceStateInfo, kTraceVoice, VoEId(_instanceId, -1),
" Output: strGuidUTF8=%s", strGuidUTF8);
}