Update of /cvsroot/freenet/freenet/src/freenet/message
In directory sc8-pr-cvs1:/tmp/cvs-serv17951/src/freenet/message

Modified Files:
        DataSend.java 
Log Message:
6195: (mostly) asynchronous trailer writing, lots of logging improvements (most code 
supports selective logging now), bugfixes


Index: DataSend.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/message/DataSend.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DataSend.java       30 Aug 2003 23:16:51 -0000      1.5
+++ DataSend.java       18 Sep 2003 17:48:08 -0000      1.6
@@ -35,7 +35,7 @@
         super(idnum, otherfields);
         this.in = data;
         this.length = length;
-       logDEBUG = Core.logger.shouldLog(Logger.DEBUG);
+       logDEBUG = Core.logger.shouldLog(Logger.DEBUG,this);
        if(logDEBUG)
            Core.logger.log(this, "DataSend constructed", new Exception("debug"),
                            Logger.DEBUG);
@@ -53,7 +53,7 @@
             throw new InvalidMessageException("Data sending message requires "
                                               + "the trailing field length to "
                                               + "be specified");
-       logDEBUG = Core.logger.shouldLog(Logger.DEBUG);
+       logDEBUG = Core.logger.shouldLog(Logger.DEBUG,this);
     }
 
     public RawMessage toRawMessage(Presentation t) {

_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to