Author: saces
Date: 2009-01-22 09:37:32 +0000 (Thu, 22 Jan 2009)
New Revision: 25206
Modified:
trunk/apps/wxFCP/src/fcp/connection.cpp
trunk/apps/wxFCP/src/fcp/ioconnection.cpp
Log:
add todo
Modified: trunk/apps/wxFCP/src/fcp/connection.cpp
===================================================================
--- trunk/apps/wxFCP/src/fcp/connection.cpp 2009-01-21 23:28:52 UTC (rev
25205)
+++ trunk/apps/wxFCP/src/fcp/connection.cpp 2009-01-22 09:37:32 UTC (rev
25206)
@@ -66,8 +66,13 @@
{
message.Clear();
+ // TODO a parser / format error a FATAL and closes the socket
wxString line = wxString();
readLine(line);
+
+ // messege name is the first line and must not contain a '='
+ // if (line.Find('=') != wxNOT_FOUND)
+
message.setName(line);
while ( true )
Modified: trunk/apps/wxFCP/src/fcp/ioconnection.cpp
===================================================================
--- trunk/apps/wxFCP/src/fcp/ioconnection.cpp 2009-01-21 23:28:52 UTC (rev
25205)
+++ trunk/apps/wxFCP/src/fcp/ioconnection.cpp 2009-01-22 09:37:32 UTC (rev
25206)
@@ -77,6 +77,7 @@
{
static const int MAX_LINE_LEN = 4096;
+ // TODO a too long line is a FATAL and closes the socket
line.Empty();
int n;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs