cec: fix crash on exit after GetDeviceInformation()
[deb_libcec.git] / src / testclient / main.cpp
index c9a74d7b0364eac3162a9d7ca12fc09af97e0da2..d4c0ed9e7a1e6406c7d98799a84101f39554fc1f 100644 (file)
@@ -207,8 +207,8 @@ void ListDevices(ICECAdapter *parser)
         PrintToStdOut("WARNING: unable to open the device on port %s", devices[iDevicePtr].comm);
       else
         strDeviceInfo.AppendFormat("firmware version:   %d\n", config.iFirmwareVersion);
+      strDeviceInfo.append("\n");
     }
-
     PrintToStdOut(strDeviceInfo.c_str());
   }
 }