Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/AgNO3/jcifs-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
mbechler committed Aug 5, 2018
2 parents c55336d + 5825cc6 commit 5ee4d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jcifs/smb/SmbFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ public String getCanonicalUncPath () {
public String getDfsPath () throws SmbException {
try {
String path = this.treeConnection.ensureDFSResolved(this.fileLocator).getDfsPath();
if ( isDirectory() ) {
if ( path != null && isDirectory() ) {
path += '/';
}
return path;
Expand Down

0 comments on commit 5ee4d68

Please sign in to comment.