aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/inet_ntop.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-14 11:12:16 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-14 16:45:09 +0000
commit10b83e6931debe1f1f2ea4edce86ddf168995e51 (patch)
treefb8b987b896ded10ce6e1f9a4fa344ccdd987515 /wsutil/inet_ntop.c
parent2359e67f9c42cc285935c70fe8e9cc6b9f369797 (diff)
Add editor-modelines; adjust whitespace.
Change-Id: I8cad872cee972a6d22a72852dac57fd188daca84 Reviewed-on: https://code.wireshark.org/review/4683 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'wsutil/inet_ntop.c')
-rw-r--r--wsutil/inet_ntop.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/wsutil/inet_ntop.c b/wsutil/inet_ntop.c
index ec01dc6965..c4e080a255 100644
--- a/wsutil/inet_ntop.c
+++ b/wsutil/inet_ntop.c
@@ -124,7 +124,7 @@ inet_ntop4(src, dst, size)
int nprinted;
nprinted = g_snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
- /* Note: nprinted *excludes* the trailing '\0' character */
+ /* Note: nprinted *excludes* the trailing '\0' character */
if ((size_t)nprinted >= size) {
errno = ENOSPC;
return (NULL);
@@ -229,3 +229,16 @@ inet_ntop6(src, dst, size)
g_strlcpy(dst, tmp, size);
return (dst);
}
+
+/*
+ * 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:
+ */