Revision 1b6e38da src/pool/PoolObjectSQL.cc

View differences:

src/pool/PoolObjectSQL.cc
17 17
#include "PoolObjectSQL.h"
18 18
#include "PoolObjectAuth.h"
19 19
#include "SSLTools.h"
20
#include "Clusterable.h"
20 21

  
21 22
/* -------------------------------------------------------------------------- */
22 23
/* -------------------------------------------------------------------------- */
......
260 261
    auth.other_u = other_u;
261 262
    auth.other_m = other_m;
262 263
    auth.other_a = other_a;
264

  
265
    Clusterable* cl = dynamic_cast<Clusterable*>(this);
266

  
267
    if(cl != 0)
268
    {
269
        auth.cid = cl->get_cluster_id();
270
    }
263 271
}
264 272

  
265 273
/* -------------------------------------------------------------------------- */

Also available in: Unified diff