Changeset - cb6cee4cc6a4
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-25 16:31:11

Minor slave edits
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/server/slave.c
Show inline comments
 
@@ -22,24 +22,25 @@
 
 * **********************************************************************************
 
 * Slave functions / etc resides below. Wouldn't a seperate file make this easier??
 
 *
 
 * Slave listens on server for a command in the format of each function...
 
 * We need if's for returns... ==> watchdog
 
 * **********************************************************************************
 
*/
 

	
 
// Provides DISTREN_REQUEST* which is in reality, DISTREN_SEND(signal) in the minds of your average joe
 
#include "protocol.h"
 
#include "options.h" // Confuse, etc.
 
#include <string.h>
 
#include <stdio.h>
 

	
 
int slavestatus = 0; // Ugh global vars
 

	
 
int main(int argc, char *argv[])
 
{
 

	
 
/* Parses arguments, skips if there are no args */
 
	if(argc>1
 
		&& (strcmp("-c", argv[1]) == 0))
 
	{
 
		char *username;
 
		char *email;
0 comments (0 inline, 0 general)