jean-frederic clere wrote:
     /* We checked for space !!  */
- strncpy((char *)msg->buf + msg->len, param, len + 1); /* including \0 */
+    memcpy(msg->buf + msg->len, param, len + 1); /* including \0 */

Why do you remove the (char *)?


Cause memcpy uses void* so no need for casting.
This is backport from mod_proxy_ajp BTW.

Cheers,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to