X-Git-Url: http://git.silcnet.org/gitweb/?p=runtime.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Funix%2Fsilcunixnet.c;h=f18af24e4f8e961b859cfb0648fb80fac6b45c05;hp=15720dcd53691f8903f6141776aaf7ac636fbb7f;hb=a788ad407a51e84cfd41fedc6c053e62283ea2d7;hpb=72c2de619079457f7a68100eb13385275a424a23 diff --git a/lib/silcutil/unix/silcunixnet.c b/lib/silcutil/unix/silcunixnet.c index 15720dcd..f18af24e 100644 --- a/lib/silcutil/unix/silcunixnet.c +++ b/lib/silcutil/unix/silcunixnet.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2007 Pekka Riikonen + Copyright (C) 1997 - 2008 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,10 +16,8 @@ GNU General Public License for more details. */ -/* $Id$ */ -#include "silc.h" -#include "silcnet.h" +#include "silcruntime.h" /************************** Types and definitions ***************************/ @@ -524,7 +522,8 @@ int silc_net_udp_receive(SilcStream stream, char *remote_ip_addr, SilcSocketStream sock = stream; SilcSockaddr s; struct sockaddr *from; - int len, flen; + int len; + unsigned int flen; SILC_LOG_DEBUG(("Reading data from UDP socket %d", sock->sock));