james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/mailrepository JDBCSpoolRepository.java
Date Wed, 07 May 2003 06:16:56 GMT
noel        2003/05/06 23:16:54

  Modified:    src/java/org/apache/james/mailrepository Tag: branch_2_1_fcs
                        JDBCSpoolRepository.java
  Log:
  Fixed newly introduced error adjusting the timeout for accept(long delay)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.15.4.5  +1 -1      jakarta-james/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java
  
  Index: JDBCSpoolRepository.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java,v
  retrieving revision 1.15.4.4
  retrieving revision 1.15.4.5
  diff -u -r1.15.4.4 -r1.15.4.5
  --- JDBCSpoolRepository.java	7 May 2003 03:12:02 -0000	1.15.4.4
  +++ JDBCSpoolRepository.java	7 May 2003 06:16:54 -0000	1.15.4.5
  @@ -216,7 +216,7 @@
   //            }
               try {
                   synchronized (this) {
  -                    long waitTime = sleepUntil - System.currentTimeMillis();
  +                    long waitTime = (sleepUntil == 0) ? 0 : sleepUntil - System.currentTimeMillis();
                       //StringBuffer errorBuffer =
                       //    new StringBuffer(128)
                       //            .append("waiting ")
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message