/[hydra]/hydra/src/config.c
ViewVC logotype

Diff of /hydra/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by nmav, Sat Sep 28 16:32:37 2002 UTC revision 1.11 by nmav, Sat Sep 28 17:49:13 2002 UTC
# Line 69  char *dirmaker; Line 69  char *dirmaker;
69  char *cachedir;  char *cachedir;
70    
71  char *tempdir;  char *tempdir;
72    int tempdir_len = 0;
73    
74  char *cgi_path = NULL;  char *cgi_path = NULL;
75  int single_post_limit = SINGLE_POST_LIMIT_DEFAULT;  int single_post_limit = SINGLE_POST_LIMIT_DEFAULT;
# Line 344  void read_config_files(void) Line 345  void read_config_files(void)
345      tempdir = getenv("TMP");      tempdir = getenv("TMP");
346      if (tempdir == NULL)      if (tempdir == NULL)
347          tempdir = "/tmp";          tempdir = "/tmp";
348        tempdir_len = strlen( tempdir);
349    
350      if (single_post_limit < 0) {      if (single_post_limit < 0) {
351          fprintf(stderr, "Invalid value for single_post_limit: %d\n",          fprintf(stderr, "Invalid value for single_post_limit: %d\n",

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26