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.5 by root, Sun Mar 31 20:08:42 2002 UTC vs.
Revision 1.6 by root, Sun Mar 31 21:42:37 2002 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.5 2002/03/31 20:08:42 root Exp $"; 56char * uucheck_id = "$Id: uucheck.c,v 1.6 2002/03/31 21:42:37 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 */
124 124
125 if (uu_ignreply && 125 if (uu_ignreply &&
126 (subject[0] == 'R' || subject[0] == 'r') && 126 (subject[0] == 'R' || subject[0] == 'r') &&
127 (subject[1] == 'E' || subject[1] == 'e') && 127 (subject[1] == 'E' || subject[1] == 'e') &&
128 (subject[2] == ':' || subject[2] == ' ')) { 128 (subject[2] == ':' || subject[2] == ' ')) {
129 return NULL; 129 return uu_FileNameCallback ? uu_FileNameCallback(uu_FNCBArg, subject, NULL) : NULL;
130 } 130 }
131 131
132/* 132/*
133 * Ignore a "Repost" prefix of the subject line. We don't want to get 133 * Ignore a "Repost" prefix of the subject line. We don't want to get
134 * a file named "Repost" :-) 134 * a file named "Repost" :-)
366 } 366 }
367 367
368 memcpy (result, ptr, length); 368 memcpy (result, ptr, length);
369 result[length] = '\0'; 369 result[length] = '\0';
370 370
371 return result; 371 return uu_FileNameCallback ? uu_FileNameCallback(uu_FNCBArg, subject, result) : result;
372} 372}
373 373
374/* 374/*
375 * Extract the Part Number from the subject line. 375 * Extract the Part Number from the subject line.
376 * We look first for numbers in (#/#)'s, then for numbers in [#/#]'s 376 * We look first for numbers in (#/#)'s, then for numbers in [#/#]'s

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines