dtterm - minor warning fixes

Patch by Robert Tomsick <robert+cde@tomsick.net>
This commit is contained in:
Jon Trulson 2012-08-08 20:09:40 -06:00
parent facb50dfde
commit 4ac42dd84f
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
/* $XConsortium: logger.c /main/3 1995/10/31 12:04:16 rswiston $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <signal.h>
@ -165,7 +166,7 @@ serve(char *progName, int s, int logfd)
{
int i;
int cc;
int addrlen;
socklen_t addrlen;
char *c1;
char buffer[BUFSIZ];
struct sockaddr_in clientaddr_in;