Changeset 6846


Ignore:
Timestamp:
10/18/16 15:20:17 (3 years ago)
Author:
paulf
Message:

more clean up of \0, this time in fir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/seismic_processing/fir/statrpt.c

    r2819 r6846  
    7979    if ( pFir->firEWH.typeHeartbeat == type ) 
    8080    { 
    81       sprintf( outMsg, "%ld %ld\n\0", (long) msgTime, (long) pFir->MyPid ); 
     81      sprintf( outMsg, "%ld %ld\n", (long) msgTime, (long) pFir->MyPid ); 
    8282       
    8383      /*Write the message to the output region                          */ 
     
    9393    { 
    9494      if ( message ) { 
    95         sprintf( outMsg, "%ld %hd %s\n\0", (long) msgTime, code, message ); 
     95        sprintf( outMsg, "%ld %hd %s\n", (long) msgTime, code, message ); 
    9696        logit("t","Error:%d (%s)\n", code, message ); 
    9797      } 
    9898      else { 
    99         sprintf( outMsg, "%ld %hd\n\0", (long) msgTime, code ); 
     99        sprintf( outMsg, "%ld %hd\n", (long) msgTime, code ); 
    100100        logit("t","Error:%d (No description)\n", code ); 
    101101      } 
Note: See TracChangeset for help on using the changeset viewer.