Subversion Repositories wimsdev

Rev

Rev 3836 | Rev 8195 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3836 Rev 8185
Line 14... Line 14...
14
 *  along with this program; if not, write to the Free Software
14
 *  along with this program; if not, write to the Free Software
15
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
15
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16
 */
16
 */
17
 
17
 
18
/* WIMS log daemon, socket routines */
18
/* WIMS log daemon, socket routines */
-
 
19
#include "wimslogd.h"
19
 
20
 
20
void errorquit(char *p)
21
void errorquit(char *p)
21
{
22
{
22
    error(p); exit(1);
23
    error(p); exit(1);
23
}
24
}
Line 62... Line 63...
62
 
63
 
63
void sockok(char *p)
64
void sockok(char *p)
64
{
65
{
65
    snprintf(textbuf,BUFFERLEN-16,"OK\n%s",p);
66
    snprintf(textbuf,BUFFERLEN-16,"OK\n%s",p);
66
}
67
}
67
 
-
 
68
#include "options.c"
-
 
69
#include "score.c"
-
 
70
#include "cmd.c"
-
 
71
 
68
 
72
void answer(int fh)
69
void answer(int fh)
73
{
70
{
74
    int t,l, *ip;
71
    int t,l, *ip;
75
 
72