diff options
author | Bill Meier <wmeier@newsguy.com> | 2015-02-13 14:02:43 -0500 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2015-02-13 19:04:44 +0000 |
commit | 3e3fc9fc5eb16dd08641c9080eed35073acc1aca (patch) | |
tree | 829a92d1791df7c243e09b4c4eb2d44b5249a822 /epan/dfilter/dfilter-macro.c | |
parent | 6040bcd5f8b83c3ba4d1cd96730bb695a232e75d (diff) |
epan/dfilter/*.c: As needed: Add editor modelines & Fix indentation
Change-Id: I410839329a98bd806c60961dfb9693d5eeeeb702
Reviewed-on: https://code.wireshark.org/review/7104
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dfilter/dfilter-macro.c')
-rw-r--r-- | epan/dfilter/dfilter-macro.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/epan/dfilter/dfilter-macro.c b/epan/dfilter/dfilter-macro.c index 132c9fe5a0..7f805859ad 100644 --- a/epan/dfilter/dfilter-macro.c +++ b/epan/dfilter/dfilter-macro.c @@ -541,7 +541,7 @@ static void* macro_copy(void* dest, const void* orig, size_t len _U_) { * Then we loop copying bytes from m->priv into * d-priv. Since m->priv contains internal ACSII NULs * we use the length of m->text to stop the copy. - */ + */ d->priv = g_strdup(m->text); { @@ -565,7 +565,7 @@ static void* macro_copy(void* dest, const void* orig, size_t len _U_) { * array into d->parts but then fixes-up the pointers * so that they point into the appropriate sections * of the d->priv. - */ + */ do nparts++; while (m->parts[nparts]); d->parts = (gchar **)g_memdup(m->parts,(nparts+1)*(guint)sizeof(void*)); @@ -737,3 +737,15 @@ void dump_dfilter_macro_t(const dfilter_macro_t *m, const char *function, const } #endif +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ |