зеркало из https://github.com/mozilla/gecko-dev.git
chatzilla only. bug 79311, chatzilla doesn't always connect properly
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org check nextLine before using it.
This commit is contained in:
Родитель
d30a77caa2
Коммит
86c980ae74
|
@ -41,8 +41,11 @@ function event_tracer (e)
|
|||
{
|
||||
var nextLine =
|
||||
e.destObject.sendQueue[e.destObject.sendQueue.length - 1];
|
||||
data = "'" + nextLine.replace ("\n", "\\n")
|
||||
+ "' (may retry a few times)";
|
||||
if (nextLine)
|
||||
data = "'" + nextLine.replace ("\n", "\\n")
|
||||
+ "' (may retry a few times)";
|
||||
else
|
||||
data = "!!! Nothing to send !!!";
|
||||
if (debugData.lastEventType == "senddata" &&
|
||||
debugData.lastEventData == data)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче