mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 11:14:10 +01:00 
			
		
		
		
	Build fix for OS X.
This commit is contained in:
		
							parent
							
								
									aaccee69b8
								
							
						
					
					
						commit
						876519034c
					
				| @ -65,7 +65,8 @@ void JsonRpcConnection::ProcessData(void) | |||||||
| 				    " message must be a dictionary.")); | 				    " message must be a dictionary.")); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			OnNewMessage(GetSelf(), MessagePart(value)); | 			MessagePart mp(value); | ||||||
|  | 			OnNewMessage(GetSelf(), mp); | ||||||
| 		} catch (const exception& ex) { | 		} catch (const exception& ex) { | ||||||
| 			Logger::Write(LogCritical, "remoting", "Exception" | 			Logger::Write(LogCritical, "remoting", "Exception" | ||||||
| 			    " while processing message from JSON-RPC client: " + | 			    " while processing message from JSON-RPC client: " + | ||||||
|  | |||||||
| @ -76,7 +76,8 @@ bool MessagePart::Get(String key, MessagePart *value) const | |||||||
| 
 | 
 | ||||||
| 	Dictionary::Ptr dictionary = v; | 	Dictionary::Ptr dictionary = v; | ||||||
| 
 | 
 | ||||||
| 	*value = MessagePart(dictionary); | 	MessagePart mp(dictionary); | ||||||
|  | 	*value = mp; | ||||||
| 	return true; | 	return true; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user