Ignore:
Timestamp:
04/15/13 17:37:47 (11 years ago)
Author:
tbretz
Message:
Another local variable and a logic fixed, a mistake introduced with the last commit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilder.c

    r15347 r15348  
    11371137         gj.evtSkip = gj.evtWrite = gj.evtErr = 0;
    11381138
    1139       int b;
    1140       for (b = 0; b < NBOARDS; b++)
     1139      for (int b = 0; b < NBOARDS; b++)
    11411140         gj.badRoi[b] = 0;
    11421141
     
    11751174               s0 = +1;         //sockets to be closed and reopened
    11761175
    1177             const int p0 = s0==0 ? 0 : ntohs (g_port[b].sockAddr.sin_port);
     1176            const int p0 = s0==0 ? ntohs (g_port[b].sockAddr.sin_port) : 0;
    11781177
    11791178            for (int p = p0 + 1; p < p0 + 8; p++) {
Note: See TracChangeset for help on using the changeset viewer.