Skip to content

Commit

Permalink
Fixed toString of FileAttributes (Fixes #258)
Browse files Browse the repository at this point in the history
  • Loading branch information
hierynomus committed Aug 15, 2016
1 parent caa6cca commit 5f292d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/schmizz/sshj/sftp/FileAttributes.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public String toString() {
sb.append("size=").append(size).append(";");

if (has(Flag.UIDGID))
sb.append("uid=").append(size).append(",gid=").append(gid).append(";");
sb.append("uid=").append(uid).append(",gid=").append(gid).append(";");

if (has(Flag.MODE))
sb.append("mode=").append(mode.toString()).append(";");
Expand Down

0 comments on commit 5f292d3

Please sign in to comment.