Fixed bug at checking error code from file stat
This commit is contained in:
committed by
Andreas Steffen
parent
c5b346d1d0
commit
75d5f6d132
@@ -474,7 +474,7 @@ METHOD(pts_t, is_path_valid, bool,
|
||||
private_pts_t *this, char *path, pts_error_code_t *error_code)
|
||||
{
|
||||
struct stat st;
|
||||
|
||||
|
||||
*error_code = 0;
|
||||
|
||||
if (!stat(path, &st))
|
||||
|
||||
Reference in New Issue
Block a user