[Freeswitch-svn] [commit] r11197 - freeswitch/trunk/scripts/contrib/verifier/EventSocket/trunk/FreeSwitchEventSocket
FreeSWITCH SVN
mikej at freeswitch.org
Wed Jan 14 09:57:15 PST 2009
Author: mikej
Date: Wed Jan 14 11:57:15 2009
New Revision: 11197
Log:
no need to be crass
Modified:
freeswitch/trunk/scripts/contrib/verifier/EventSocket/trunk/FreeSwitchEventSocket/EventParser.cs
Modified: freeswitch/trunk/scripts/contrib/verifier/EventSocket/trunk/FreeSwitchEventSocket/EventParser.cs
==============================================================================
--- freeswitch/trunk/scripts/contrib/verifier/EventSocket/trunk/FreeSwitchEventSocket/EventParser.cs (original)
+++ freeswitch/trunk/scripts/contrib/verifier/EventSocket/trunk/FreeSwitchEventSocket/EventParser.cs Wed Jan 14 11:57:15 2009
@@ -145,14 +145,14 @@
int pos = plainEvent.Body.IndexOf("\n\n");
if (pos < plainEvent.Body.Length - 2)
{
- Console.WriteLine("Fucked up event");
+ Console.WriteLine("Invalid event");
Console.WriteLine("Header");
Console.WriteLine(headers);
Console.WriteLine("Body");
Console.WriteLine(plainEvent.Body);
Console.WriteLine("=========================== EVERYTHING in _text ==============================");
Console.WriteLine(_text);
- throw new InvalidDataException("Fucked up event: " + _text);
+ throw new InvalidDataException("Invalid event: " + _text);
}
if (plainEvent.Body.Length < plainEvent.ContentLength)
@@ -178,4 +178,4 @@
_piecesToAppend.Enqueue(text);
}
}
-}
\ No newline at end of file
+}
More information about the Freeswitch-svn
mailing list