diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2005-02-17 13:18:01 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2005-02-17 13:18:01 +0000 |
commit | c41512ad082f6f7ac906a62d9f137f1b1f1abbeb (patch) | |
tree | 0c9970b52a931755fecc36494cce896251b7d907 | |
parent | 600a168c18424ed9b6c24cc943a0b20398c69ff0 (diff) |
Fix indentation as to not mislead the code reader. No functional change.
-rw-r--r-- | sbin/pfctl/pfctl_osfp.c | 7 | ||||
-rw-r--r-- | usr.sbin/tcpdump/pfctl_osfp.c | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/sbin/pfctl/pfctl_osfp.c b/sbin/pfctl/pfctl_osfp.c index 2aa55b528b7..23e3cccc0bf 100644 --- a/sbin/pfctl/pfctl_osfp.c +++ b/sbin/pfctl/pfctl_osfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_osfp.c,v 1.11 2004/12/29 16:24:42 mcbride Exp $ */ +/* $OpenBSD: pfctl_osfp.c,v 1.12 2005/02/17 13:18:00 aaron Exp $ */ /* * Copyright (c) 2003 Mike Frantzen <frantzen@openbsd.org> @@ -702,9 +702,8 @@ fingerprint_name_entry(struct name_list *list, char *name) nm_entry = calloc(1, sizeof(*nm_entry)); if (nm_entry == NULL) err(1, "calloc"); - LIST_INIT(&nm_entry->nm_sublist); - strlcpy(nm_entry->nm_name, name, - sizeof(nm_entry->nm_name)); + LIST_INIT(&nm_entry->nm_sublist); + strlcpy(nm_entry->nm_name, name, sizeof(nm_entry->nm_name)); } LIST_INSERT_HEAD(list, nm_entry, nm_entry); return (nm_entry); diff --git a/usr.sbin/tcpdump/pfctl_osfp.c b/usr.sbin/tcpdump/pfctl_osfp.c index c4fb90f5a30..90a728dc58a 100644 --- a/usr.sbin/tcpdump/pfctl_osfp.c +++ b/usr.sbin/tcpdump/pfctl_osfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_osfp.c,v 1.2 2004/12/19 13:27:25 deraadt Exp $ */ +/* $OpenBSD: pfctl_osfp.c,v 1.3 2005/02/17 13:18:00 aaron Exp $ */ /* * Copyright (c) 2003 Mike Frantzen <frantzen@openbsd.org> @@ -695,9 +695,8 @@ fingerprint_name_entry(struct name_list *list, char *name) nm_entry = calloc(1, sizeof(*nm_entry)); if (nm_entry == NULL) err(1, "calloc"); - LIST_INIT(&nm_entry->nm_sublist); - strlcpy(nm_entry->nm_name, name, - sizeof(nm_entry->nm_name)); + LIST_INIT(&nm_entry->nm_sublist); + strlcpy(nm_entry->nm_name, name, sizeof(nm_entry->nm_name)); } LIST_INSERT_HEAD(list, nm_entry, nm_entry); return (nm_entry); |