git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
084e1e3
)
filesize check works now.
author
kramm
<kramm>
Sat, 16 Feb 2002 19:51:09 +0000
(19:51 +0000)
committer
kramm
<kramm>
Sat, 16 Feb 2002 19:51:09 +0000
(19:51 +0000)
src/swfdump.c
patch
|
blob
|
history
diff --git
a/src/swfdump.c
b/src/swfdump.c
index
d690594
..
e70a425
100644
(file)
--- a/
src/swfdump.c
+++ b/
src/swfdump.c
@@
-7,7
+7,7
@@
This file is distributed under the GPL, see file COPYING for details */
This file is distributed under the GPL, see file COPYING for details */
-#define HAVE_STAT
+#include "../config.h"
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
@@
-415,9
+415,9
@@
int main (int argc,char ** argv)
#ifdef HAVE_STAT
fstat(f, &statbuf);
#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)",
dumperror("Real Filesize (%d) doesn't match header Filesize (%d)",
- statbuf.st_size, swf.FileSize);
+ statbuf.st_size, swf.fileSize);
#endif
close(f);
#endif
close(f);