X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=src%2Fswfdump.c;h=e70a425d563fef757070ed97ac018276cd0029a3;hp=d6905949d33adf5436729a3b7cb5ae161fc2782f;hb=e9fc8c3b319a6575a53a58a1b672a6956de05117;hpb=084e1e32b2d5c8c0b32d03950d9c1dba90851e1f diff --git a/src/swfdump.c b/src/swfdump.c index d690594..e70a425 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -7,7 +7,7 @@ This file is distributed under the GPL, see file COPYING for details */ -#define HAVE_STAT +#include "../config.h" #ifdef HAVE_SYS_STAT_H #include @@ -415,9 +415,9 @@ int main (int argc,char ** argv) #ifdef HAVE_STAT fstat(f, &statbuf); - if(statbuf.st_size != swf.FileSize) + if(statbuf.st_size != swf.fileSize) dumperror("Real Filesize (%d) doesn't match header Filesize (%d)", - statbuf.st_size, swf.FileSize); + statbuf.st_size, swf.fileSize); #endif close(f);