Damir Dezeljin wrote:
I want to retrive an IP addr string from the apr_sockaddr_t so I used apr_sockaddr_ip_get(). The first argument of this function is char ** .
...
So the question is ... do I have to first alocate the memory for the destination string?
APR allocates the storage from the pool for the apr_sockaddr_t. You don't have to do any preparation.
I'll add a comment to that effect to the description of the function.
Thanks,
Jeff
