/*
* PROJECT: ReactOS simple TCP/IP services
* LICENSE: GPL - See COPYING in the top level directory
- * FILE: /base/services/tcpsvcs/daytime.c
+ * FILE: base/services/tcpsvcs/daytime.c
* PURPOSE: Sends the current date and time to the client
* COPYRIGHT: Copyright 2005 - 2008 Ged Murphy <gedmurphy@reactos.org>
*
#include "tcpsvcs.h"
+#include <time.h>
+
static BOOL
SendTime(SOCKET sock, CHAR *time)
{
- DWORD stringSize = strlen(time) + 1;
+ SIZE_T stringSize = strlen(time) + 1;
if (send(sock, time, stringSize, 0) == SOCKET_ERROR)
{
LogEvent(L"DayTime: Error sending data", WSAGetLastError(), 0, LOG_ERROR);