Skip to content

Commit

Permalink
Fixing bug: targets file not found
Browse files Browse the repository at this point in the history
* Bug reported by pawal ioerror#4
  • Loading branch information
phibos committed Nov 29, 2013
1 parent c09e03e commit 30eea2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sslscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ int fileExists(char *fileName)
#if PLAT_WINDOWS
return _access(fileName, 0) == 0;
#else
return access(fileName, X_OK) == 0;
return access(fileName, R_OK) == 0;
#endif
}

Expand Down

0 comments on commit 30eea2b

Please sign in to comment.