mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	comp_method_zlib_init: use correct error defines
This commit is contained in:
		@@ -141,11 +141,11 @@ comp_method_zlib_init(LIBSSH2_SESSION * session, int compress,
 | 
			
		||||
 | 
			
		||||
    if (status != Z_OK) {
 | 
			
		||||
        LIBSSH2_FREE(session, strm);
 | 
			
		||||
        return -1;
 | 
			
		||||
        return LIBSSH2_ERROR_COMPRESS;
 | 
			
		||||
    }
 | 
			
		||||
    *abstract = strm;
 | 
			
		||||
 | 
			
		||||
    return 0;
 | 
			
		||||
    return LIBSSH2_ERROR_NONE;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user