Changeset 6447 in ntrip


Ignore:
Timestamp:
Dec 26, 2014, 4:26:33 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccaster.cpp

    r6432 r6447  
    6767  reopenOutFile();
    6868
    69   _port = settings.value("outPort").toInt();
    70 
    71   if (_port != 0) {
     69  int port = settings.value("outPort").toInt();
     70
     71  if (port != 0) {
    7272    _server = new QTcpServer;
    73     if ( !_server->listen(QHostAddress::Any, _port) ) {
     73    if ( !_server->listen(QHostAddress::Any, port) ) {
    7474      emit newMessage("bncCaster: Cannot listen on sync port", true);
    7575    }
  • trunk/BNC/src/bnccaster.h

    r6137 r6447  
    6868
    6969   QFile*                     _outFile;
    70    int                        _port;
    7170   QTextStream*               _out;
    7271   QMultiMap<long, t_satObs>* _epochs;
Note: See TracChangeset for help on using the changeset viewer.