Changed debug levels to 4-6

This commit is contained in:
Andrew Bauer 2013-10-07 14:40:38 -05:00
parent 32bd588a1c
commit 70fb31c2e3
1 changed files with 3 additions and 3 deletions

View File

@ -247,15 +247,15 @@ int main( int argc, char *argv[] )
// print some informational messages
if (bytes_read == 0)
{
Debug(2,"Image read : Short read %d bytes of %d expected bytes",n_bytes,frame_header.image_length);
Debug(4,"Image read : Short read %d bytes of %d expected bytes",n_bytes,frame_header.image_length);
}
else if (bytes_read+n_bytes == (int)frame_header.image_length)
{
Debug(2,"Image read : Read rest of short read: %d bytes read total of %d bytes",n_bytes,frame_header.image_length);
Debug(5,"Image read : Read rest of short read: %d bytes read total of %d bytes",n_bytes,frame_header.image_length);
}
else
{
Debug(2,"Image read : continuing, read %d bytes (%d so far)", n_bytes, bytes_read+n_bytes);
Debug(6,"Image read : continuing, read %d bytes (%d so far)", n_bytes, bytes_read+n_bytes);
}
}
bytes_read+= n_bytes;