diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-23 16:33:29 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-23 16:33:29 -0400 |
commit | 1b252ddbadf7e67e25ba407d3a2483cab452340f (patch) | |
tree | 145cdafe93aa1a051f69e149fc7957572b0b16ee /network.c | |
parent | 2d5d1fdc84aeb19e1ebbf5169c496befea592206 (diff) |
Added `sanitize_strlen()`, and `sanitize_str()`.
`sanitize_str()` creates a string with each starting
space replaced by a hyphen, and with all trailing
spaces, and periods removed.
`sanitize_strlen()` gets the length of the sanatized
version of the supplied string.
Diffstat (limited to 'network.c')
0 files changed, 0 insertions, 0 deletions