Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/dbg/struct_hist.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* remain available inside the global history list for a while
*/

#define MAX_SHLOG_SIZE 80 /* longer log lines will get truncated */
#define MAX_SHLOG_SIZE 128 /* longer log lines will get truncated */

/**
* To be freely extended by any piece of OpenSIPS code which makes use of
Expand Down
8 changes: 4 additions & 4 deletions modules/dialog/dlg_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ void destroy_dlg(struct dlg_cell *dlg);

#ifdef DBG_DIALOG
#define DBG_REF(dlg, cnt) \
sh_log((dlg)->hist, DLG_REF, "h=%d, ref %d with +%d", \
(dlg)->h_entry, (dlg)->ref, (cnt));
sh_log((dlg)->hist, DLG_REF, "h=%d, state=%d, flags=0x%x, ref %d with +%d", \
(dlg)->h_entry, (dlg)->state, (dlg)->flags, (dlg)->ref, (cnt));
#define DBG_UNREF(dlg, cnt) \
sh_log((dlg)->hist, DLG_UNREF, "h=%d, unref %d with -%d", \
(dlg)->h_entry, (dlg)->ref, (cnt));
sh_log((dlg)->hist, DLG_UNREF, "h=%d, state=%d, flags=0x%x, unref %d with -%d", \
(dlg)->h_entry, (dlg)->state, (dlg)->flags, (dlg)->ref, (cnt));
#define DBG_FLUSH(dlg) sh_flush((dlg)->hist)
#else
#define DBG_REF(dlg, cnt)
Expand Down
Loading