Changeset 11250


Ignore:
Timestamp:
07/04/11 20:50:33 (13 years ago)
Author:
tbretz
Message:
Fixed a problem in the C version of GetLocalIp
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimSetup.cc

    r11010 r11250  
    170170    const char *GetLocalIp()
    171171    {
    172         return Dim::GetLocalIp().c_str();
     172        static string rc;
     173        rc = Dim::GetLocalIp();
     174        return rc.c_str();
    173175    }
    174176}
Note: See TracChangeset for help on using the changeset viewer.