+Sun Jul 11 18:46:48 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
+ * netproc.c: msgfind() no longer uses the timestamp as a message-ID
+ when no other message-ID is available (it screws up the loopzapper)
+
Wed Jul 7 23:25:09 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* control.c: create citadel.control if it doesn't exist (yikes!)
* serv_expire.c: purge mailbox rooms belonging to non-existent users
return (0);
}
-int get_sysinfo_type(char *name)
-{ /* determine routing from sysinfo file */
+/*
+ * Determine routing from sysinfo file
+ */
+int get_sysinfo_type(char *name) {
struct syslist *stemp;
- GETSN:for (stemp = slist; stemp != NULL; stemp = stemp->next) {
+
+GETSN: for (stemp = slist; stemp != NULL; stemp = stemp->next) {
if (!strcasecmp(stemp->s_name, name)) {
if (!strcasecmp(stemp->s_type, "use")) {
strcpy(name, stemp->s_nexthop);
buffer->B[0] = 0;
buffer->G[0] = 0;
- BONFGM:b = getc(fp);
+BONFGM: b = getc(fp);
if (b < 0)
goto END;
if (b == 'M')
strcpy(buffer->E, bbb);
goto BONFGM;
- END:if (buffer->I == 0L)
+END: fclose(fp);
+
+ /* NOTE: we used to use the following two lines of code to assign
+ * the timestamp as a message-ID if there was no message-ID already
+ * in the message. We don't do this anymore because it screws up
+ * the loopzapper.
+ *
+ if (buffer->I == 0L)
buffer->I = buffer->T;
- fclose(fp);
+ */
}
+
+
+
+
void ship_to(char *filenm, char *sysnm)
{ /* send spool file filenm to system sysnm */
char sysflnm[100];