Store host info.

This commit is contained in:
Bartosz Taudul 2018-08-19 18:21:56 +02:00
parent bd76f4cd10
commit 203d9b4b85
2 changed files with 3 additions and 0 deletions

View File

@ -1237,6 +1237,8 @@ void Worker::Exec()
sprintf( tmp, "%s @ %s", welcome.programName, dtmp ); sprintf( tmp, "%s @ %s", welcome.programName, dtmp );
m_captureName = tmp; m_captureName = tmp;
m_hostInfo = welcome.hostInfo;
if( welcome.onDemand != 0 ) if( welcome.onDemand != 0 )
{ {
OnDemandPayloadMessage onDemand; OnDemandPayloadMessage onDemand;

View File

@ -372,6 +372,7 @@ private:
int64_t m_resolution; int64_t m_resolution;
double m_timerMul; double m_timerMul;
std::string m_captureName; std::string m_captureName;
std::string m_hostInfo;
bool m_terminate; bool m_terminate;
LZ4_streamDecode_t* m_stream; LZ4_streamDecode_t* m_stream;
char* m_buffer; char* m_buffer;