summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2002-07-12 01:25:44 +0000
committerkrw <krw@openbsd.org>2002-07-12 01:25:44 +0000
commit2ae6da7ea85dee7c518b33fe9c84631a09986179 (patch)
treeb624366e6621e4fc10f997afd7e28aaf4e5be959 /lib/libc
parentmalloc/strdup failure not handled; cloder@acm.org (diff)
downloadwireguard-openbsd-2ae6da7ea85dee7c518b33fe9c84631a09986179.tar.xz
wireguard-openbsd-2ae6da7ea85dee7c518b33fe9c84631a09986179.zip
Eliminate list_has_sets() by eliminating its only use. Instead of
checking for sets when the a valid directory is given in get_setsdir(), rely on eqivalent check in get_sets() instead. Reduces code duplication and eliminates a possible duplicated error message about not finding sets in a directory.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions