… | |
… | |
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.25 2020/12/12 10:48:39 root Exp $"; |
56 | char * uucheck_id = "$Id: uucheck.c,v 1.26 2020/12/12 10:48:58 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 | */ |
… | |
… | |
981 | result->NEXT = NULL; |
981 | result->NEXT = NULL; |
982 | |
982 | |
983 | *ret = UURET_OK; |
983 | *ret = UURET_OK; |
984 | |
984 | |
985 | return result; |
985 | return result; |
986 | } |
|
|
987 | |
|
|
988 | /* this helper function makes UUInsertPartToList a tiny bit clearer, hopefully */ |
|
|
989 | static int |
|
|
990 | uu_str_eq (const char *a, const char *b) |
|
|
991 | { |
|
|
992 | return a && b && !strcmp (a, b); |
|
|
993 | } |
986 | } |
994 | |
987 | |
995 | /* |
988 | /* |
996 | * Insert one part of a file into the global list |
989 | * Insert one part of a file into the global list |
997 | **/ |
990 | **/ |