|
From: | Mark Hermeling |
Subject: | Re: Bug in return_append_str |
Date: | Mon, 3 Jul 2017 09:09:40 +0200 |
Antonio, That is certainly true once the modification that I proposed is applied. You need to allocate the space of the string, plus one character for the EOL. However, with the current code you allocate enough memory for the string and then move the pointer one character to the right. It is a simple typo, the brackets are placed incorrectly. Regards, Mark -- Sent from my phone, please excuse any typos.
|
[Prev in Thread] | Current Thread | [Next in Thread] |