Change frameserver warnings to debug level 2

This commit is contained in:
Andrew Bauer 2013-10-07 13:57:14 -05:00
parent 022ecf4227
commit 32bd588a1c
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)
{
// Warning("Image read : Short read %d bytes of %d expected bytes",n_bytes,frame_header.image_length);
Debug(2,"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)
{
// Warning("Image read : Read rest of short read: %d bytes read total of %d bytes",n_bytes,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);
}
else
{
// Warning("Image read : continuing, read %d bytes (%d so far)", n_bytes, bytes_read+n_bytes);
Debug(2,"Image read : continuing, read %d bytes (%d so far)", n_bytes, bytes_read+n_bytes);
}
}
bytes_read+= n_bytes;