CVS diff for logs.c between 1.3 and 1.2:

Revision 1.2 Revision 1.3
# include "logs.h" 
#include "cow.h"
 
#include "logs.h"
 
/* 
* Name: open_logs 
*
 
/* 
* Name: open_logs 
*
 * Description: Opens up the error log, ties it to stderr, and line 
 * Description: Opens the log files, if any. 
 * buffers it. 
*/ 
 * buffers it. 
*/ 
 
FILE* ALOG = NULL;
FILE* ELOG = NULL;
 
void open_logs(void) 
{
void open_logs(void) 
{
    /* not yet */ 
#ifdef LOGGING
 
    if (access_log) {
        ALOG = fopen(access_log, "a");
        if (NULL == ALOG)
            perror("Could not open access log");
    }

    if (error_log) {
        ELOG = fopen(error_log, "e");
        if (NULL == ELOG)
            perror("Could not open error log");
    }
#endif /* LOGGING */




Legend
Lines deleted from 1.3  
Lines Modified
  Lines added in revision 1.2