Change socket path length condition to >=
Looks like 108 is the length including \0, therefore actual limit is 107
This commit is contained in:
		
							parent
							
								
									9717a8b5fa
								
							
						
					
					
						commit
						77e1b9f156
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -815,7 +815,7 @@ QString SingleInstanceLocalServerName(const QString &hash) { | |||
| 		+ '-' | ||||
| 		+ cGUIDStr(); | ||||
| 
 | ||||
| 	if (idealSocketPath.size() > 108) { | ||||
| 	if (idealSocketPath.size() >= 108) { | ||||
| 		return AppRuntimeDirectory() + hash; | ||||
| 	} else { | ||||
| 		return idealSocketPath; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ilya Fedin
						Ilya Fedin