diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-14 14:35:40 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-14 14:35:40 +0200 |
commit | e425cb943457ace770538aaf3be421a40a26f99a (patch) | |
tree | d625452a69931286f8921bfe44586ede1684ab02 /config.h | |
parent | 1e72e33a9739544b64c1d52980ef5f8e43e7f8c1 (diff) | |
download | vdr-e425cb943457ace770538aaf3be421a40a26f99a.tar.gz vdr-e425cb943457ace770538aaf3be421a40a26f99a.tar.bz2 |
Changed size of all parse buffers to 10KB
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.76 2001/09/09 13:51:45 kls Exp $ + * $Id: config.h 1.77 2001/09/14 14:35:32 kls Exp $ */ #ifndef __CONFIG_H @@ -21,8 +21,6 @@ #define VDRVERSION "0.95" -#define MaxBuffer 10000 - #define MAXPRIORITY 99 #define MAXLIFETIME 99 @@ -192,7 +190,7 @@ public: FILE *f = fopen(fileName, "r"); if (f) { int line = 0; - char buffer[MaxBuffer]; + char buffer[MAXPARSEBUFFER]; result = true; while (fgets(buffer, sizeof(buffer), f) > 0) { line++; |