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

List:       kde-commits
Subject:    kdebase/kioslave/smb
From:       Stephan Kulow <coolo () kde ! org>
Date:       2003-09-08 18:07:12
[Download RAW message or body]

CVS commit by coolo: 

forward porting of my errno == 0 text


  M +0 -1      kio_smb.h   1.27
  M +14 -3     kio_smb_browse.cpp   1.29


--- kdebase/kioslave/smb/kio_smb.h  #1.26:1.27
@@ -50,5 +50,4 @@
 //--------------
 #include <kdebug.h>
-#include <kdebugclasses.h>
 #include <kinstance.h>
 #include <kio/global.h>

--- kdebase/kioslave/smb/kio_smb_browse.cpp  #1.28:1.29
@@ -259,5 +259,16 @@ void SMBSlave::reportError(const SMBUrl 
         break;
     case EBADF:
-        error( ERR_INTERNAL, "BAD File descriptor");
+        error( ERR_INTERNAL, i18n("BAD File descriptor"));
+        break;
+    case 0: // success
+          error( ERR_INTERNAL, i18n("libsmbclient reported an error, but didn't \
specify " +                                                                "what the \
problem is. This might indicate a severe problem " +                                  \
"with your network - but also might indicate a problem with " +                       \
"libsmbclient.\n" +                                                                \
"If you want to help us, please provide a tcpdump of the " +                          \
"network interface while you try to browse (be aware that " +                         \
"it might contain private data, so don't post it if you're " +                        \
"unsure about that - you can send it privately to the developers " +                  \
"if they ask for it)") );  break;
     default:


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

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