commit | c5b8f52c071e8a94f6a1db480c95dad0a415847a | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Sun Apr 17 12:34:07 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Sun Apr 17 12:34:07 2016 +0200 |
tree | a95bc25e324168aee42f1f65dc947ae3e55f9a11 | |
parent | bcdc90e85fe0e2fbd563a1160ea463580aeb0aa0 [diff] |
inserting: don't bother zero-terminating every single character Just let read_line() zero-terminate the intermediate buffer when the line is complete.