Mercurial > hg > orthanc-transfers
comparison Framework/PullMode/PullJob.cpp @ 5:5e6de82bb10f
use of user properties instead of BidirectionalPeers option
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 18 Sep 2018 15:39:02 +0200 |
parents | 95226b754d9e |
children | 4c3437217518 |
comparison
equal
deleted
inserted
replaced
4:1ed03945c057 | 5:5e6de82bb10f |
---|---|
191 } | 191 } |
192 | 192 |
193 if (job_.query_.HasOriginator() && | 193 if (job_.query_.HasOriginator() && |
194 job_.query_.GetOriginator() != answer[KEY_ORIGINATOR_UUID].asString()) | 194 job_.query_.GetOriginator() != answer[KEY_ORIGINATOR_UUID].asString()) |
195 { | 195 { |
196 LOG(ERROR) << "Invalid originator, check out the \"" | 196 LOG(ERROR) << "Invalid originator, check out the \"" << KEY_REMOTE_SELF |
197 << KEY_PLUGIN_CONFIGURATION << "." << KEY_BIDIRECTIONAL_PEERS | 197 << "\" configuration option of peer: " << job_.query_.GetPeer(); |
198 << "\" configuration option"; | |
199 return StateUpdate::Failure(); | 198 return StateUpdate::Failure(); |
200 } | 199 } |
201 | 200 |
202 TransferScheduler scheduler; | 201 TransferScheduler scheduler; |
203 | 202 |