Changeset 6387 for geovis/trunk


Ignore:
Timestamp:
Jun 16, 2016, 4:12:42 PM (8 years ago)
Author:
ldelgass
Message:

Use hub_url from client in iDataInit if it was supplied

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/RendererCmd.cpp

    r6386 r6387  
    752752    }
    753753    const char *username = NULL;
    754     const char *hub = NULL;
     754    const char *hubURL = NULL;
    755755    //const char *session = NULL;
    756756    for (int i = 0; i < numItems; i+=2) {
     
    760760            username = val;
    761761        }
    762         if (strcmp(name, "hub") == 0) {
    763             hub = val;
     762        if (strcmp(name, "hub_url") == 0) {
     763            hubURL = val;
    764764        }
    765765        //if (strcmp(name, "session") == 0) {
     
    768768    }
    769769    if (username != NULL) {
    770         IData::iDataInit(username, hub);
     770        IData::iDataInit(username, hubURL);
    771771    }
    772772
Note: See TracChangeset for help on using the changeset viewer.