diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-06-03 09:45:19 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-06-03 09:45:19 +0200 |
commit | 756bbf36c3b18732fd1a8800b01fad6a9a67df8d (patch) | |
tree | 56bdd44fccf993a0cbeac1e8abf961745249647e /loader.c | |
parent | 1e10270655dcca66af1cdd5f143787d63a7af961 (diff) | |
download | vdr-plugin-text2skin-756bbf36c3b18732fd1a8800b01fad6a9a67df8d.tar.gz vdr-plugin-text2skin-756bbf36c3b18732fd1a8800b01fad6a9a67df8d.tar.bz2 |
Tweaking "Try fix deprecated readder_r".
Diffstat (limited to 'loader.c')
-rw-r--r-- | loader.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -12,9 +12,8 @@ #include <dirent.h> void cText2SkinLoader::Start(void) { - DIR *d; + DIR *d = opendir(SkinPath().c_str()); struct dirent *result; - d = opendir(SkinPath().c_str()); if (d) { while ((result = readdir(d)) != NULL) { struct stat buf; |