Hiltjo,

Great suggestions. Thank you for taking the time to look through the
code and to write all of that.

Quoth Hiltjo Posthuma on Fri, Apr 17 2015 11:33 +0200:
- To makeline() you can add an argument of the line and use the
returned value from getline(). This way strlen is not needed.
getline() cannot return 0, so I guess the len - 1 is safe :)

Good idea, this will cut out some unneeded junk.

--
Wolfgang Corcoran-Mathe

Reply via email to