Fixed bug at checking error code from file stat

This commit is contained in:
Sansar Choinyambuu
2011-11-28 15:02:49 +01:00
committed by Andreas Steffen
parent c5b346d1d0
commit 75d5f6d132
2 changed files with 352 additions and 1 deletions
+1 -1
View File
@@ -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))