summaryrefslogtreecommitdiff
path: root/FreeDATA.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2022-10-18 10:09:06 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2022-10-18 10:09:06 +0100
commit2bd6071d0e235139ce3b078568a45367221b2f05 (patch)
treee727f2d55c60dc9d811cfcfd17340ab8a35a6d8d /FreeDATA.c
parent4a4271cb07f8c69d4e064a2ef5ccc6c400b4f957 (diff)
Version 6.0.23.2223.24
Diffstat (limited to 'FreeDATA.c')
-rw-r--r--FreeDATA.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/FreeDATA.c b/FreeDATA.c
index 5a12c90..95ef527 100644
--- a/FreeDATA.c
+++ b/FreeDATA.c
@@ -2533,8 +2533,6 @@ void ProcessMessageObject(struct TNCINFO * TNC, char * This)
{
if (STREAM->Connected == 1 && STREAM->Connecting == 0)
{
- // Just attached - send as Chat Message
-
char * Line = &ID[1];
Len -= 1;
@@ -2691,6 +2689,8 @@ void ProcessMessageObject(struct TNCINFO * TNC, char * This)
}
else if (ID[0] == 'f')
{
+ // File Tranfer
+
char Filename[256];
FILE * fp1;
char Text[64];
@@ -3065,7 +3065,7 @@ void ProcessTNCJSON(struct TNCINFO * TNC, char * Msg, int Len)
if (memcmp(Msg, "{\"command_response\"", 19) == 0)
{
- Debugprintf(Msg);
+ Debugprintf("%d %s", TNC->Port, Msg);
return;
}
@@ -3354,7 +3354,7 @@ void ProcessTNCJSON(struct TNCINFO * TNC, char * Msg, int Len)
- Debugprintf(Msg);
+ Debugprintf("%d %s", TNC->Port, Msg);
return;
}
@@ -3386,7 +3386,7 @@ void ProcessTNCJSON(struct TNCINFO * TNC, char * Msg, int Len)
return;
}
- Debugprintf(Msg);
+ Debugprintf("%d %s", TNC->Port, Msg);
// {"COMMAND":"RX_BUFFER","DATA-ARRAY":[],"EOF":"EOF"}