diff --git a/client/tp-player/record_format.h b/client/tp-player/record_format.h index aa7b3e9..9fc7ad5 100644 --- a/client/tp-player/record_format.h +++ b/client/tp-player/record_format.h @@ -54,9 +54,9 @@ typedef struct TS_RECORD_HEADER_BASIC { typedef struct TS_RECORD_HEADER { TS_RECORD_HEADER_INFO info; - ex_u8 _reserve1[64 - ts_record_header_info_size]; + uint8_t _reserve1[64 - ts_record_header_info_size]; TS_RECORD_HEADER_BASIC basic; - ex_u8 _reserve2[512 - 64 - ts_record_header_basic_size]; + uint8_t _reserve2[512 - 64 - ts_record_header_basic_size]; }TS_RECORD_HEADER; // header部分(header-info + header-basic) = 512B diff --git a/server/tp_core/testssh/stdafx.cpp b/server/tp_core/testssh/stdafx.cpp index d6b01d0..68931a3 100644 --- a/server/tp_core/testssh/stdafx.cpp +++ b/server/tp_core/testssh/stdafx.cpp @@ -3,6 +3,7 @@ // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" +#include // TODO: reference any additional headers you need in STDAFX.H // and not in this file diff --git a/server/tp_core/testssh/testssh.cpp b/server/tp_core/testssh/testssh.cpp index f97809e..5a6a40b 100644 --- a/server/tp_core/testssh/testssh.cpp +++ b/server/tp_core/testssh/testssh.cpp @@ -169,6 +169,8 @@ int main(int argc, char** argv) ssh_disconnect(sess); ssh_free(sess); + ssh_finalize(); + return 0; }