]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Yet more logging
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 15 Feb 2006 21:28:26 +0000 (21:28 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 15 Feb 2006 21:28:26 +0000 (21:28 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3226 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 25507fed53b238b4b74a4ffa71b9fc1af8bbc963..c107982818e2237e445421806550470d1ec8959f 100644 (file)
@@ -1341,10 +1341,12 @@ class TreeSocket : public InspSocket
         */
        virtual bool OnDataReady()
        {
+               log(DEBUG,"TreeSocket::OnDataReady");
                char* data = this->Read();
                /* Check that the data read is a valid pointer and it has some content */
                if (data && *data)
                {
+                       log(DEBUG,"got some data");
                        this->in_buffer.append(data);
                        /* While there is at least one new line in the buffer,
                         * do something useful (we hope!) with it.
@@ -1381,6 +1383,7 @@ class TreeSocket : public InspSocket
                                }
                                if (!this->ProcessLine(ret))
                                {
+                                       log(DEBUG,"ProcessLine says no!");
                                        return false;
                                }
                        }