mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-10-31 14:47:32 +00:00 
			
		
		
		
	Correct argument order of git__calloc()
This commit is contained in:
		
							parent
							
								
									be6996b792
								
							
						
					
					
						commit
						8b686b318b
					
				| @ -628,7 +628,7 @@ static int add_push_report_pkt(git_push *push, git_pkt *pkt) | ||||
| 
 | ||||
| 	switch (pkt->type) { | ||||
| 		case GIT_PKT_OK: | ||||
| 			status = git__calloc(1, sizeof(push_status)); | ||||
| 			status = git__calloc(sizeof(push_status), 1); | ||||
| 			GITERR_CHECK_ALLOC(status); | ||||
| 			status->msg = NULL; | ||||
| 			status->ref = git__strdup(((git_pkt_ok *)pkt)->ref); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jacques Germishuys
						Jacques Germishuys