Changeset 32588


Ignore:
Timestamp:
Jul 7, 2017, 3:13:11 PM (6 weeks ago)
Author:
brainslayer
Message:

format code

Location:
src/router/httpd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/ej.c

    r32587 r32588  
    229229                                        memcpy(&clone, stream, sizeof(webs));
    230230                                        global_handle = call(global_handle, func, &clone);
    231                                         stream->generate_key = clone.generate_key;
     231                                        stream->generate_key = clone.generate_key;
    232232                                        stream->clone_wan_mac = clone.clone_wan_mac;
    233233                                        stream->filter_id = clone.filter_id;
  • src/router/httpd/httpd.c

    r32584 r32588  
    568568
    569569#ifndef HAVE_MICRO
    570         pthread_mutex_lock(&input_mutex);  // barrier. block until input is done. otherwise global members get async
     570        pthread_mutex_lock(&input_mutex);       // barrier. block until input is done. otherwise global members get async
    571571        pthread_mutex_unlock(&input_mutex);
    572572
     
    10571057      out:;
    10581058
    1059 
    10601059        free(line);
    10611060        wfclose(conn_fp);
     
    10901089#ifndef HAVE_MICRO
    10911090        if (handler->input)
    1092                 pthread_mutex_unlock(&input_mutex);  //releases barrier
     1091                pthread_mutex_unlock(&input_mutex);     //releases barrier
    10931092#endif
    10941093
  • src/router/httpd/modules/base.c

    r32583 r32588  
    19661966        query++;
    19671967
    1968         snprintf(querybuffer,sizeof(querybuffer),"%s:",query);
     1968        snprintf(querybuffer, sizeof(querybuffer), "%s:", query);
    19691969
    19701970        int strbuffer = 0;
     
    24252425        fprintf(out, "TRAFF-DATA\n");
    24262426        FILE *fp = popen("nvram show | grep traff-", "rb");
    2427         while (!feof(fp))
     2427        while (!feof(fp))
    24282428                putc(getc(fp), out);
    24292429        pclose(fp);
     
    25712571        {"style/logo.png", "image/png", NULL, NULL, do_trial_logo, NULL, 0, 0},
    25722572#endif
    2573 //      {"graph_if.svg*", "image/svg+xml", NULL, NULL, do_file, do_auth, 0, 0, 1},
    2574 //      {"graph_if.svg", "image/svg+xml", NULL, NULL, do_file, do_auth, 0, 0, 1},
     2573//      {"graph_if.svg*", "image/svg+xml", NULL, NULL, do_file, do_auth, 0, 0, 1},
     2574//      {"graph_if.svg", "image/svg+xml", NULL, NULL, do_file, do_auth, 0, 0, 1},
    25752575        {"**.css", "text/css", NULL, NULL, do_file, NULL, 0, 0},
    25762576        {"**.svg", "image/svg+xml", NULL, NULL, do_file, do_auth, 0, 0},
Note: See TracChangeset for help on using the changeset viewer.