let the err_msg in the session struct be const too
This commit is contained in:
		@@ -730,7 +730,7 @@ struct _LIBSSH2_SESSION
 | 
				
			|||||||
                                   when libssh2_session_startup() is called */
 | 
					                                   when libssh2_session_startup() is called */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Error tracking */
 | 
					    /* Error tracking */
 | 
				
			||||||
    char *err_msg;
 | 
					    const char *err_msg;
 | 
				
			||||||
    unsigned long err_msglen;
 | 
					    unsigned long err_msglen;
 | 
				
			||||||
    int err_should_free;
 | 
					    int err_should_free;
 | 
				
			||||||
    int err_code;
 | 
					    int err_code;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user