diff --git a/libretroshare/src/tcponudp/extaddrfinder.cc b/libretroshare/src/tcponudp/extaddrfinder.cc index bbfe9594a..62be9524b 100644 --- a/libretroshare/src/tcponudp/extaddrfinder.cc +++ b/libretroshare/src/tcponudp/extaddrfinder.cc @@ -263,7 +263,8 @@ ExtAddrFinder::ExtAddrFinder() _searching = new bool ; *_searching = false ; - *mFoundTS = time(NULL) - MAX_IP_STORE; + mFoundTS = new time_t; + *mFoundTS = time(NULL) - MAX_IP_STORE; _addr = (sockaddr_in*)malloc(sizeof(sockaddr_in)) ;