Changeset 2151

Show
Ignore:
Timestamp:
04/23/2008 01:10:41 PM (4 months ago)
Author:
stbuehler
Message:

Fix comment style (use /* */ instead of //)

Location:
branches/lighttpd-1.4.x/src
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/src/connections.c

    r2144 r2151  
    546546                                /* no Content-Body, no Content-Length */ 
    547547                                if (NULL != (ds = (data_string*) array_get_element(con->response.headers, "Content-Length"))) { 
    548                                         buffer_reset(ds->value); // Headers with empty values are ignored for output 
     548                                        buffer_reset(ds->value); /* Headers with empty values are ignored for output */ 
    549549                                } 
    550550                        } else if (qlen > 0 || con->request.http_method != HTTP_METHOD_HEAD) { 
     
    848848 
    849849        /* The cond_cache gets reset in response.c */ 
    850 //      config_cond_cache_reset(srv, con); 
     850        /* config_cond_cache_reset(srv, con); */ 
    851851 
    852852#ifdef USE_OPENSSL 
  • branches/lighttpd-1.4.x/src/mod_compress.c

    r2128 r2151  
    103103} 
    104104 
    105 // 0 on success, -1 for error 
     105/* 0 on success, -1 for error */ 
    106106int mkdir_recursive(char *dir) { 
    107107        char *p = dir; 
     
    119119 
    120120                *p++ = '/'; 
    121                 if (!*p) return 0; // Ignore trailing slash 
     121                if (!*p) return 0; /* Ignore trailing slash */ 
    122122        } 
    123123 
     
    125125} 
    126126 
    127 // 0 on success, -1 for error 
     127/* 0 on success, -1 for error */ 
    128128int mkdir_for_file(char *filename) { 
    129129        char *p = filename; 
     
    141141 
    142142                *p++ = '/'; 
    143                 if (!*p) return -1; // Unexpected trailing slash in filename 
     143                if (!*p) return -1; /* Unexpected trailing slash in filename */ 
    144144        } 
    145145 
  • branches/lighttpd-1.4.x/src/response.c

    r2145 r2151  
    153153 
    154154                config_cond_cache_reset(srv, con); 
    155                 config_setup_connection(srv, con); // Perhaps this could be removed at other places. 
     155                config_setup_connection(srv, con); /* Perhaps this could be removed at other places. */ 
    156156 
    157157                if (con->conf.log_condition_handling) { 
  • branches/lighttpd-1.4.x/src/server.c

    r2082 r2151  
    894894        } 
    895895 
    896         // Close stderr ASAP in the child process to make sure that nothing 
    897         // is being written to that fd which may not be valid anymore. 
     896        /* Close stderr ASAP in the child process to make sure that nothing 
     897         * is being written to that fd which may not be valid anymore. */ 
    898898        if (-1 == log_error_open(srv)) { 
    899899                log_error_write(srv, __FILE__, __LINE__, "s", "Opening errorlog failed. Going down.");