ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/uucheck.c
(Generate patch)

Comparing Convert-UUlib/uulib/uucheck.c (file contents):
Revision 1.16 by root, Mon Aug 24 04:38:23 2009 UTC vs.
Revision 1.17 by root, Mon Aug 24 06:15:00 2009 UTC

51#include <uudeview.h> 51#include <uudeview.h>
52#include <uuint.h> 52#include <uuint.h>
53#include <fptools.h> 53#include <fptools.h>
54#include <uustring.h> 54#include <uustring.h>
55 55
56char * uucheck_id = "$Id: uucheck.c,v 1.16 2009/08/24 04:38:23 root Exp $"; 56char * uucheck_id = "$Id: uucheck.c,v 1.17 2009/08/24 06:15:00 root Exp $";
57 57
58/* 58/*
59 * Arbitrary number. This is the maximum number of part numbers we 59 * Arbitrary number. This is the maximum number of part numbers we
60 * store for our have-parts and missing-parts lists 60 * store for our have-parts and missing-parts lists
61 */ 61 */
1016 if (data->data->flags & FL_SINGLE) { 1016 if (data->data->flags & FL_SINGLE) {
1017 /* this space intentionally left blank */ 1017 /* this space intentionally left blank */
1018 } 1018 }
1019 else if ((data->mimeid && iter->mimeid && strcmp (data->mimeid, iter->mimeid) == 0) 1019 else if ((data->mimeid && iter->mimeid && strcmp (data->mimeid, iter->mimeid) == 0)
1020 || 1020 ||
1021 (_FP_stricmp (data->subfname, iter->subfname) == 0 1021 (
1022 1
1022 && !(iter->thisfile && iter->thisfile->yefilesize != data->yefilesize) 1023 && !(iter->thisfile && iter->thisfile->yefilesize != data->yefilesize)
1023 && !(iter->begin && data->data->begin) 1024 && !(iter->begin && data->data->begin)
1024 && !(iter->end && data->data->end) 1025 && !(iter->end && data->data->end)
1026 && !(iter->flags & FL_SINGLE)
1027 && !(data->filename && iter->filename && strcmp (data->filename, iter->filename) != 0)
1028 && _FP_stricmp (data->subfname, iter->subfname) == 0
1025 && !(data->mimeid && iter->mimeid && strcmp (data->mimeid, iter->mimeid) != 0) 1029 && !(data->mimeid && iter->mimeid && strcmp (data->mimeid, iter->mimeid) != 0)
1026 && !(data->filename && iter->filename && strcmp (data->filename, iter->filename) != 0) 1030 )
1027 && !(iter->flags & FL_SINGLE))) { 1031 ) {
1028 1032
1029 /* 1033 /*
1030 * Don't insert a part that is already there. 1034 * Don't insert a part that is already there.
1031 * 1035 *
1032 * Also don't add a part beyond the "end" marker (unless we 1036 * Also don't add a part beyond the "end" marker (unless we

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines