summaryrefslogtreecommitdiff
path: root/AGWMoncode.c
diff options
context:
space:
mode:
Diffstat (limited to 'AGWMoncode.c')
-rw-r--r--AGWMoncode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/AGWMoncode.c b/AGWMoncode.c
index 1610548..84f4fe3 100644
--- a/AGWMoncode.c
+++ b/AGWMoncode.c
@@ -69,7 +69,7 @@ static UCHAR * DISPLAYIPDATAGRAM(IPMSG * IP, UCHAR * Output, int MsgLen);
static UCHAR * DISPLAYARPDATAGRAM(UCHAR * Datagram, UCHAR * Output);
-int InternalAGWDecodeFrame(MESSAGE * msg, char * buffer, int Stamp, int * FrameType, int useLocalTime, int DoNodes)
+int InternalAGWDecodeFrame(MESSAGE * msg, char * buffer, time_t Stamp, int * FrameType, int useLocalTime, int DoNodes)
{
UCHAR * ptr;
int n;
@@ -365,7 +365,7 @@ int InternalAGWDecodeFrame(MESSAGE * msg, char * buffer, int Stamp, int * FrameT
}
if (Output == NULL)
- return NULL;
+ return 0;
if (Output[-1] != 13)
Output += sprintf((char *)Output, "\r");