Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156211
b: refs/heads/master
c: 24e2fb6
h: refs/heads/master
i:
  156209: caa748d
  156207: facaa12
v: v3
  • Loading branch information
Roel Kluin authored and Steve French committed Aug 3, 2009
1 parent 0ce5eeb commit f6cc077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4486d6ede16b362f89b29845af6fe1a26ae78a54
refs/heads/master: 24e2fb615fd6b624c320cec9ea9d91a75dad902e
2 changes: 1 addition & 1 deletion trunk/fs/cifs/cifs_unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cifs_ucs2_bytes(const __le16 *from, int maxbytes,
int maxwords = maxbytes / 2;
char tmp[NLS_MAX_CHARSET_SIZE];

for (i = 0; from[i] && i < maxwords; i++) {
for (i = 0; i < maxwords && from[i]; i++) {
charlen = codepage->uni2char(le16_to_cpu(from[i]), tmp,
NLS_MAX_CHARSET_SIZE);
if (charlen > 0)
Expand Down

0 comments on commit f6cc077

Please sign in to comment.