[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:       2004-05-07 10:16:00
Message-ID: 20040507101600.A20F6172E () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

handle a very special error with a very special message :)


  M +6 -1      kio_smb_browse.cpp   1.34


--- kdebase/kioslave/smb/kio_smb_browse.cpp  #1.33:1.34
@@ -260,4 +260,9 @@ void SMBSlave::reportError(const SMBUrl 
         error( ERR_INTERNAL, i18n("BAD File descriptor"));
         break;
+    case ENOTUNIQ:
+        error( ERR_SLAVE_DEFINED, i18n( "The given name could not be resolved to an \
unique server. " +                                        "Make sure your network is \
setup without any name conflicts " +                                        "between \
names used by Windows and by Unix name resolution." ) ); +        break;
     case 0: // success
           error( ERR_INTERNAL, i18n("libsmbclient reported an error, but didn't \
specify " @@ -272,5 +277,5 @@ void SMBSlave::reportError(const SMBUrl 
           break;
     default:
-          error( ERR_INTERNAL, i18n("Unknown error condition in stat: \
%1").arg(strerror(errno))); +        error( ERR_INTERNAL, i18n("Unknown error \
condition in stat: %1").arg(QString::fromLocal8Bit( strerror(errno))) );  }
 }


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

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