[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kioslave/pop3
From:       Dirk Mueller <mueller () kde ! org>
Date:       2003-06-22 17:31:25
[Download RAW message or body]

CVS commit by mueller: 

cleanup


  M +2 -4      pop3.cc   1.146


--- kdebase/kioslave/pop3/pop3.cc  #1.145:1.146
@@ -746,7 +746,5 @@ void POP3Protocol::get(const KURL & url)
     list_cmd += path;
     memset(buf, 0, sizeof(buf));
-    if (noProgress)
-        /* nothing */;
-    else if (command(list_cmd.ascii(), buf, sizeof(buf) - 1)) {
+    if (!noProgress && command(list_cmd.ascii(), buf, sizeof(buf) - 1)) {
       list_cmd = buf;
       // We need a space, otherwise we got an invalid reply


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic