summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-01-16 12:09:38 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-01-16 12:09:38 +0100
commit98a443cc61a02261fcbdad945a8c6c664e279d50 (patch)
treed549ca7a57b7b27b5be27f671617a5040101b35d /recording.c
parent3a0f7d314a4dfc80dfc521a93596ca0f9ecd4867 (diff)
downloadvdr-98a443cc61a02261fcbdad945a8c6c664e279d50.tar.gz
vdr-98a443cc61a02261fcbdad945a8c6c664e279d50.tar.bz2
Revoked "Fixed handling symbolic links in cRecordings::ScanVideoDir()"
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index cf35bb7a..63caaf53 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 2.43 2012/01/15 11:04:24 kls Exp $
+ * $Id: recording.c 2.44 2012/01/16 12:05:41 kls Exp $
*/
#include "recording.h"
@@ -1112,7 +1112,7 @@ void cRecordings::ScanVideoDir(const char *DirName, bool Foreground, int LinkLev
if (strcmp(e->d_name, ".") && strcmp(e->d_name, "..")) {
cString buffer = AddDirectory(DirName, e->d_name);
struct stat st;
- if (lstat(buffer, &st) == 0) {
+ if (stat(buffer, &st) == 0) {
int Link = 0;
if (S_ISLNK(st.st_mode)) {
if (LinkLevel > MAX_LINK_LEVEL) {