-/* $Id$
-
-This file is part of gldbg
-Copyright © 2009 Mikko Rasa, Mikkosoft Productions
-Distributed under the GPL
-*/
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
ret = gldecoder_decode(dec, ptr, end-ptr);
if(ret<0)
{
- fprintf(stderr, "Decode error\n");
+ fprintf(stderr, "Decode error with %d bytes left\n", end-ptr);
break;
}
ptr += ret;