ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Urlader/urlader.c
(Generate patch)

Comparing Urlader/urlader.c (file contents):
Revision 1.9 by root, Mon Jan 2 09:23:03 2012 UTC vs.
Revision 1.10 by root, Tue Jan 3 10:37:45 2012 UTC

139 if (memcmp (tail->magic, TAIL_MAGIC, sizeof (TAIL_MAGIC) - 1)) 139 if (memcmp (tail->magic, TAIL_MAGIC, sizeof (TAIL_MAGIC) - 1))
140 return 0; 140 return 0;
141 141
142 pack_cur = (struct u_pack_hdr *)(pack_end - u_32 (tail->size)); 142 pack_cur = (struct u_pack_hdr *)(pack_end - u_32 (tail->size));
143 143
144 scratch = u_malloc (scratch_size = u_32 (tail->max_filesize)); 144 scratch = u_malloc (scratch_size = u_32 (tail->max_uncompressed));
145 if (!scratch) 145 if (!scratch)
146 return 0; 146 return 0;
147 147
148 return 1; 148 return 1;
149} 149}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines