#include <glib.h>
#include <ctype.h>
#include <epan/packet.h>
-#include "smb.h"
+#include <epan/emem.h>
+#include <epan/dissectors/packet-smb.h>
#include "packet-smb-pipe.h"
#include "packet-smb-browse.h"
#include "packet-smb-common.h"
/*
* Save the parameter descriptor for future use.
*/
- g_assert(trp->param_descrip == NULL);
+ DISSECTOR_ASSERT(trp->param_descrip == NULL);
trp->param_descrip = g_strdup(param_descrip);
}
offset += descriptor_len;
/*
* Save the return descriptor for future use.
*/
- g_assert(trp->data_descrip == NULL);
+ DISSECTOR_ASSERT(trp->data_descrip == NULL);
trp->data_descrip = g_strdup(data_descrip);
}
offset += descriptor_len;
* Save the auxiliary data descriptor for
* future use.
*/
- g_assert(trp->aux_data_descrip == NULL);
+ DISSECTOR_ASSERT(trp->aux_data_descrip == NULL);
trp->aux_data_descrip =
g_strdup(aux_data_descrip);
}