Change example-fs-bb48
This commit is contained in:
@@ -184,7 +184,7 @@ main (int argc, const char *argv[])
|
||||
if (size < 0)
|
||||
break;
|
||||
|
||||
if (usec)
|
||||
if (size)
|
||||
{
|
||||
unsigned int value;
|
||||
|
||||
@@ -215,6 +215,8 @@ main (int argc, const char *argv[])
|
||||
{
|
||||
int i;
|
||||
|
||||
size--;
|
||||
|
||||
crc32_init ();
|
||||
s[0] = hexchar (size >> 4);
|
||||
s[1] = hexchar (size & 0x0f);
|
||||
@@ -239,6 +241,8 @@ main (int argc, const char *argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
size--;
|
||||
|
||||
s[0] = hexchar (size >> 4);
|
||||
s[1] = hexchar (size & 0x0f);
|
||||
s[2] = ':';
|
||||
|
||||
Reference in New Issue
Block a user