Changeset 568

Show
Ignore:
Timestamp:
09/05/08 22:48:48 (7 months ago)
Author:
smoku
Message:

Fix for non-existant s2s local.id

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/clustering/s2s/main.c

    r564 r568  
    163163 
    164164    elem = config_get(s2s->config, "local.id"); 
    165     for(i = 0; i < elem->nvalues; i++) { 
     165 
     166    if (elem) for(i = 0; i < elem->nvalues; i++) { 
    166167        host_t host = (host_t) pmalloco(xhash_pool(s2s->hosts), sizeof(struct host_st)); 
    167168        if(!host) {