int error;
struct stat sb;
- error_code = NULL;
+ *error_code = 0;
error = stat(path, &sb);
if (error == 0)
{
}
else
{
- DBG1(DBG_IMC, "error: %s occured while validating path: %s", strerror(error), path);
+ DBG1(DBG_IMC, "error: %s occured while validating path: %s",
+ strerror(error), path);
return FALSE;
}