diff options
author | ed <ed@FreeBSD.org> | 2013-05-25 12:13:54 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2013-05-25 12:13:54 +0000 |
commit | dcb48cfa2b59c0d7067b7107f4f8695e2519758a (patch) | |
tree | 82800a1975d4411b2bfb2e8128c26e8a719520ab /tools/regression/lib/libc/resolv/resolv.c | |
parent | 3f589c4a65061002236515a5e50d5eafb6c1f50f (diff) | |
download | FreeBSD-src-dcb48cfa2b59c0d7067b7107f4f8695e2519758a.zip FreeBSD-src-dcb48cfa2b59c0d7067b7107f4f8695e2519758a.tar.gz |
Make some tiny improvements to iconv_open().
- Remove an unneeded variable.
- Fix whitespace bugs.
- Fix typoes in comment.
- Improve string handling a bit. Don't handroll strstr() and don't
terminate a strdup()'ed string. Instead, simply strndup() the part we
need.
Diffstat (limited to 'tools/regression/lib/libc/resolv/resolv.c')
0 files changed, 0 insertions, 0 deletions