mirror of
				https://github.com/owntone/owntone-server.git
				synced 2025-10-29 15:55:02 -04:00 
			
		
		
		
	Fix a bad return value in ws_addarg()
Fix a bad return value in ws_addarg() when updating a header value, leading the caller to believe an out of memory condition happened.
This commit is contained in:
		
							parent
							
								
									567bd3ee03
								
							
						
					
					
						commit
						7c1752d871
					
				| @ -1516,7 +1516,7 @@ int ws_addarg(ARGLIST *root, char *key, char *fmt, ...) { | ||||
|             free(newkey); | ||||
|             free(pnew); | ||||
|             WS_EXIT(); | ||||
|             return 0; | ||||
|             return TRUE; | ||||
|         } | ||||
|         current=current->next; | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user