mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	publickey_init: remove useless variable increment
This commit is contained in:
		@@ -364,7 +364,7 @@ static LIBSSH2_PUBLICKEY *publickey_init(LIBSSH2_SESSION *session)
 | 
				
			|||||||
        memcpy(s, "version", sizeof("version") - 1);
 | 
					        memcpy(s, "version", sizeof("version") - 1);
 | 
				
			||||||
        s += sizeof("version") - 1;
 | 
					        s += sizeof("version") - 1;
 | 
				
			||||||
        _libssh2_htonu32(s, LIBSSH2_PUBLICKEY_VERSION);
 | 
					        _libssh2_htonu32(s, LIBSSH2_PUBLICKEY_VERSION);
 | 
				
			||||||
        s += 4;
 | 
					
 | 
				
			||||||
        session->pkeyInit_buffer_sent = 0;
 | 
					        session->pkeyInit_buffer_sent = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        _libssh2_debug(session, LIBSSH2_TRACE_PUBLICKEY,
 | 
					        _libssh2_debug(session, LIBSSH2_TRACE_PUBLICKEY,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user