1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

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

View file

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