Changeset 23 for trunk/src/template.c

Show
Ignore:
Timestamp:
02/05/07 17:50:16 (16 years ago)
Author:
andreu
Message:

optimization : new param : myPtrs in checkdataflowset function

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/template.c

    r16 r23  
    126126          syslog (LOG_INFO,  
    127127                  "fields nb too large, bug collector or wrong template def");  
    128           exit(1); 
     128          cTFSPtr = deleteTplFlSet(cTFSPtr); 
    129129        } 
    130130      } 
     
    181181          syslog (LOG_INFO,  
    182182                  "fields nb too large, bug collector or wrong template def");  
    183           exit(1); 
     183          cTFSPtr = deleteTplFlSet(cTFSPtr); 
    184184        } 
    185185      } 
     
    194194/*          ( cr->IpAddress)<<24>>24); */ 
    195195/*     fprintf(stderr,"%lu %d\n", cTFSPtr->sourceId, sizeof(cTFSPtr->sourceId)); */ 
     196    /* FIXME HERE don't send an wrong def if error detected */ 
    196197    msgTextIndex = mempcpy(mempcpy(mempcpy(mempcpy(mempcpy(myMsg.text,  
    197198                                                           &tplMsgType,