[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-09 7:45:37
Message-ID: 20040509074537.B953E226E () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

not sure how portable these are


  M +5 -0      kio_smb_browse.cpp   1.41


--- kdebase/kioslave/smb/kio_smb_browse.cpp  #1.40:1.41
@@ -248,4 +248,7 @@ void SMBSlave::reportError(const SMBUrl 
                i18n( "No media in device for %1" ).arg( url.prettyURL() ) );
         break;
+#ifdef EHOSTDOWN
+    case EHOSTDOWN:
+#endif
     case ECONNREFUSED:
         error(  ERR_SLAVE_DEFINED,
@@ -276,4 +279,5 @@ void SMBSlave::reportError(const SMBUrl 
         error( ERR_INTERNAL, i18n("BAD File descriptor"));
         break;
+#ifdef ENOTUNIQ
     case ENOTUNIQ:
         error( ERR_SLAVE_DEFINED, i18n( "The given name could not be resolved to an \
unique server. " @@ -281,4 +285,5 @@ void SMBSlave::reportError(const SMBUrl 
                                         "between names used by Windows and by UNIX \
name resolution." ) );  break;
+#endif
     case 0: // success
           error( ERR_INTERNAL, i18n("libsmbclient reported an error, but didn't \
specify "


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

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