/[PAMELA software]/yoda/techmodel/forroutines/tracker/readraw/hunpacker.c
ViewVC logotype

Diff of /yoda/techmodel/forroutines/tracker/readraw/hunpacker.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6.1 by kusanagi, Tue Jun 27 10:25:42 2006 UTC revision 6.4 by pam-fi, Thu Nov 2 12:20:08 2006 UTC
# Line 65  void hunpacker_(unsigned short *header, Line 65  void hunpacker_(unsigned short *header,
65            
66      *startcrc=*curpos;      *startcrc=*curpos;
67            
68      if( *curpos+13>*len ) {      if( *curpos+(2*13)-1>*len ) {
69          printf("hunpacker: Unexpected end of file\n");          //      printf("hunpacker: Unexpected end of file\n");
70          *error=1;          *error=1;
71          return ;          return ;
72      }      }

Legend:
Removed from v.6.1  
changed lines
  Added in v.6.4

  ViewVC Help
Powered by ViewVC 1.1.23