vserver 2.0 rc7
[linux-2.6.git] / fs / cifs / cifs_unicode.c
index a17adf4..99a096d 100644 (file)
@@ -76,8 +76,8 @@ cifs_strtoUCS(wchar_t * to, const char *from, int len,
                                charlen));
                        to[i] = cpu_to_le16(0x003f);    /* a question mark */
                        charlen = 1;
-               }
-               to[i] = cpu_to_le16(to[i]);
+               } else 
+                       to[i] = cpu_to_le16(to[i]);
 
        }