ben         96/03/30 07:38:42

  Modified:    src       mod_proxy.c
  Log:
  (Oops) Quickly fix // style comments before people shout at me.
  
  Revision  Changes    Path
  1.12      +6 -4      apache/src/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_proxy.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -C3 -r1.11 -r1.12
  *** mod_proxy.c       1996/03/30 15:31:14     1.11
  --- mod_proxy.c       1996/03/30 15:38:41     1.12
  ***************
  *** 1403,1409 ****
        ++nfiles;
    /* is it another file? */
        /* FIXME: Shouldn't any unexpected files be deleted? */
  ! //  if (strlen(ent->d_name) != HASH_LEN) continue;
    
    /* read the file */
        fd = open(filename, O_RDONLY);
  --- 1403,1409 ----
        ++nfiles;
    /* is it another file? */
        /* FIXME: Shouldn't any unexpected files be deleted? */
  !     /*      if (strlen(ent->d_name) != HASH_LEN) continue; */
    
    /* read the file */
        fd = open(filename, O_RDONLY);
  ***************
  *** 1941,1949 ****
    #define TMPFILESTR  "/#tmpXXXXXX"
        c->tempfile=palloc(r->pool,strlen(conf->cache.root)+sizeof 
TMPFILESTR-1);
        strcpy(c->tempfile,conf->cache.root);
  ! //    p = strrchr(c->tempfile, '/');
  ! //    if (p == NULL) return DECLINED;
  ! //    strcpy(p, TMPFILESTR);
        strcat(c->tempfile,TMPFILESTR);
    #undef TMPFILESTR
        p = mktemp(c->tempfile);
  --- 1941,1951 ----
    #define TMPFILESTR  "/#tmpXXXXXX"
        c->tempfile=palloc(r->pool,strlen(conf->cache.root)+sizeof 
TMPFILESTR-1);
        strcpy(c->tempfile,conf->cache.root);
  !     /*
  !     p = strrchr(c->tempfile, '/');
  !     if (p == NULL) return DECLINED;
  !     strcpy(p, TMPFILESTR);
  !     */
        strcat(c->tempfile,TMPFILESTR);
    #undef TMPFILESTR
        p = mktemp(c->tempfile);
  
  
  

Reply via email to