Implement error messages in the decoder side.
Update issue 7 Status: Started
This commit is contained in:
@@ -85,7 +85,7 @@ int main()
|
||||
|
||||
if (!status)
|
||||
{
|
||||
printf("Decoding failed.\n");
|
||||
printf("Decode failed: %s\n", PB_GET_ERROR(&stream));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user