wireshark: alloc memory dynamically

This commit is contained in:
Bastian Bloessl
2013-06-21 12:31:17 +02:00
parent 0bf0803d42
commit 2d53800583
2 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ namespace foo {
bool d_debug;
int d_msg_offset;
int d_msg_len;
char d_msg[256];
char* d_msg;
LinkType d_link;
public:
wireshark_connector_impl(LinkType type, bool debug);