Hi.
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 ** .
Because I have to add a pointer to a pointer I think that the function
allocate automaticaly the memory for the destination char * . On the other
hand
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