]> git.tdb.fi Git - gldbg.git/blobdiff - source/gldump.c
Replace per-file license notices with License.txt
[gldbg.git] / source / gldump.c
index 79896c2fa4bad9c902726e949d03015b899160ae..2b4c20b4002a17c85605a93b06c9d5a67ad4a03a 100644 (file)
@@ -1,10 +1,3 @@
-/* $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>
@@ -47,7 +40,7 @@ int main(int argc, char **argv)
                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;