Fix typo with return values in realloc_descrs.
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
This commit is contained in:
		 Dana Koch
					Dana Koch
				
			
				
					committed by
					
						 Love Hörnquist Åstrand
						Love Hörnquist Åstrand
					
				
			
			
				
	
			
			
			 Love Hörnquist Åstrand
						Love Hörnquist Åstrand
					
				
			
						parent
						
							9ad763288d
						
					
				
				
					commit
					a95cae113d
				
			| @@ -832,7 +832,7 @@ realloc_descrs(struct descr **d, unsigned int *ndescr) | ||||
|  | ||||
|     tmp = realloc(*d, (*ndescr + 4) * sizeof(**d)); | ||||
|     if(tmp == NULL) | ||||
|         return TRUE; | ||||
|         return FALSE; | ||||
|  | ||||
|     *d = tmp; | ||||
|     reinit_descrs (*d, *ndescr); | ||||
| @@ -842,7 +842,7 @@ realloc_descrs(struct descr **d, unsigned int *ndescr) | ||||
|  | ||||
|     *ndescr += 4; | ||||
|  | ||||
|     return FALSE; | ||||
|     return TRUE; | ||||
| } | ||||
|  | ||||
| int | ||||
|   | ||||
		Reference in New Issue
	
	Block a user