diff options
author | Henri Herscher <henri@oreka.org> | 2006-02-02 02:54:36 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2006-02-02 02:54:36 +0000 |
commit | d029a54e5722f4983e93e45bf9594dae44adfdaf (patch) | |
tree | f59f154e8892a8fe6c3d2d8ff58e48ed25594a1d | |
parent | dc58649cf25f75f32fdb3e1cc8e20b33c94280c5 (diff) |
Fixed crash when pcap description NULL
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@154 09dcff7a-b715-0410-9601-b79a96267cd0
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/VoIp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/VoIp.cpp b/orkaudio/audiocaptureplugins/voip/VoIp.cpp index 9a85ac5..e03e25a 100644 --- a/orkaudio/audiocaptureplugins/voip/VoIp.cpp +++ b/orkaudio/audiocaptureplugins/voip/VoIp.cpp @@ -520,8 +520,8 @@ void VoIp::OpenDevices() { if(!device){break;} - LOG4CXX_INFO(s_packetLog, CStdString("* ") + device->description + " " + device->name ); - + CStdString description = device->description; + LOG4CXX_INFO(s_packetLog, CStdString("* ") + device->name + " - " + description); CStdString deviceName(device->name); deviceName.ToLower(); if( deviceName.Find("dialup") == -1 && // Don't want Windows dialup devices (still possible to force them using the configuration file) |