mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	fix typo. Bug #837
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										2
									
								
								astmm.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								astmm.c
									
									
									
									
									
								
							| @@ -211,7 +211,7 @@ char *__ast_strndup(const char *s, size_t n, const char *file, int lineno, const | ||||
| 	len = strlen(s) + 1; | ||||
| 	if (len > n) | ||||
| 		len = n; | ||||
| 	ptr = __ast_alloc_region(len, FUNC_STRDUP, file, lineno, func); | ||||
| 	ptr = __ast_alloc_region(len, FUNC_STRNDUP, file, lineno, func); | ||||
| 	if (ptr) | ||||
| 		strcpy(ptr, s); | ||||
| 	return ptr; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user