diff options
| author | 2005-02-17 13:18:00 +0000 | |
|---|---|---|
| committer | 2005-02-17 13:18:00 +0000 | |
| commit | 0f4593eae149cfd5f0f6bd967bf473fdff07a5c3 (patch) | |
| tree | da5fa50af8599e55a5a13403470ba9ff7dbe673b /usr.sbin/tcpdump | |
| parent | Fix case where we were testing on AC, but operating on FD. The changed code (diff) | |
| download | wireguard-openbsd-0f4593eae149cfd5f0f6bd967bf473fdff07a5c3.tar.xz wireguard-openbsd-0f4593eae149cfd5f0f6bd967bf473fdff07a5c3.zip | |
Fix indentation as to not mislead the code reader. No functional change.
Diffstat (limited to 'usr.sbin/tcpdump')
| -rw-r--r-- | usr.sbin/tcpdump/pfctl_osfp.c | 7 |
1 files changed, 3 insertions, 4 deletions
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); |
