mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	make sure we don't choke on overly long lines in .desktop files
This commit is contained in:
		
							parent
							
								
									edfa39a2af
								
							
						
					
					
						commit
						194d8991d7
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -195,6 +195,8 @@ static pa_hook_result_t process(struct userdata *u, pa_proplist *p) {
 | 
			
		|||
 | 
			
		||||
    time(&now);
 | 
			
		||||
 | 
			
		||||
    pa_log_debug("Looking for .desktop file for %s", pn);
 | 
			
		||||
 | 
			
		||||
    if ((r = pa_hashmap_get(u->cache, pn))) {
 | 
			
		||||
        if (now-r->timestamp > STAT_INTERVAL) {
 | 
			
		||||
            r->timestamp = now;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue