let the err_msg in the session struct be const too

This commit is contained in:
Daniel Stenberg 2010-03-01 13:16:19 +01:00
parent 0ef84144ac
commit 8bbc109e52

View File

@ -730,7 +730,7 @@ struct _LIBSSH2_SESSION
when libssh2_session_startup() is called */
/* Error tracking */
char *err_msg;
const char *err_msg;
unsigned long err_msglen;
int err_should_free;
int err_code;