aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column-utils.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-03-15 08:11:14 -0700
committerGerald Combs <gerald@wireshark.org>2018-03-15 16:30:27 +0000
commitbe1af004481b5e832b2d74a773261d284a4d0e69 (patch)
tree33dd78899a8f54472967c3cd631a2a4bde4e16eb /epan/column-utils.c
parentbbe5fc102821cc3fa9e661078311f681501025ef (diff)
Properly reset a variable.
Change-Id: I72b125dd4c9d9033ce3e3d779bf28005ee6b52ad Reviewed-on: https://code.wireshark.org/review/26482 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/column-utils.c')
-rw-r--r--epan/column-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/column-utils.c b/epan/column-utils.c
index 9976804819..9b544eb15f 100644
--- a/epan/column-utils.c
+++ b/epan/column-utils.c
@@ -2295,8 +2295,9 @@ col_fill_in_error(column_info *cinfo, frame_data *fdata, const gboolean fill_col
}
gboolean col_data_changed(void) {
- return col_data_changed_;
+ gboolean cur_cdc = col_data_changed_;
col_data_changed_ = FALSE;
+ return cur_cdc;
}
/*
* Editor modelines