commit | 1cc9bd68617f2a92dcd6e4398288341d16cfb5c1 | [log] [tgz] |
---|---|---|
author | Steve French <smfrench@gmail.com> | Thu Nov 29 18:07:51 2012 -0600 |
committer | Steve French <smfrench@gmail.com> | Wed Dec 05 13:27:30 2012 -0600 |
tree | 21594cc37e9f39545b1ed29a7b9faa235ffba183 | |
parent | b979aaa1777259330435c47f900833dabe9189e8 [diff] |
make convert_delimiter use strchr instead of open-coding it Take advantage of accelerated strchr() on arches that support it. Also, no caller ever passes in a NULL pointer. Get rid of the unneeded NULL pointer check. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>