File:  [MW Coherent from dump] / coherent / d / support / mwcbbs / update.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:38 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/* update_contents()

	This is a quick and dirty option added to the mwcbbs interface
	to automatically generate the uucp commands to download new
	Contents files. This does NOT invoke uucico.

	This is called by main after parsing the command line options.

#include "contents.h"
#include <stdio.h>

update_contents()
{
char up_con_file[65];

	strcpy(up_con_file,"");
	sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT1,RECEIVER);
	system(up_con_file);

	strcpy(up_con_file,"");
	sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT2,RECEIVER);
	system(up_con_file);

	strcpy(up_con_file,"");
	sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT3,RECEIVER);
	system(up_con_file);

	strcpy(up_con_file,"");
	sprintf(up_con_file,"%s%s%s%s",HOST,PATHNAME,CONTENT4,RECEIVER);
	system(up_con_file);
	
	return;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.