… | |
… | |
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 | |
56 | char * uucheck_id = "$Id: uucheck.c,v 1.23 2020/12/12 00:44:18 root Exp $"; |
56 | char * uucheck_id = "$Id: uucheck.c,v 1.24 2020/12/12 02:03:14 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 | */ |
… | |
… | |
1245 | unew->uudet = data->data->uudet; |
1245 | unew->uudet = data->data->uudet; |
1246 | unew->flags = data->data->flags; |
1246 | unew->flags = data->data->flags; |
1247 | unew->begin = data->data->begin ? (data->partno ? data->partno : 1) : 0; |
1247 | unew->begin = data->data->begin ? (data->partno ? data->partno : 1) : 0; |
1248 | unew->end = data->data->end ? (data->partno ? data->partno : 1) : 0; |
1248 | unew->end = data->data->end ? (data->partno ? data->partno : 1) : 0; |
1249 | |
1249 | |
1250 | if (iter == NULL) |
1250 | /* insert at the beginning, as parts often show up in bursts */ |
|
|
1251 | unew->NEXT = UUGlobalFileList; |
1251 | UUGlobalFileList = unew; |
1252 | UUGlobalFileList = unew; |
1252 | else |
|
|
1253 | iter->NEXT = unew; |
|
|
1254 | |
1253 | |
1255 | return UURET_OK; |
1254 | return UURET_OK; |
1256 | } |
1255 | } |
1257 | |
1256 | |
1258 | /* |
1257 | /* |