Changeset 480aba1 in mod_gnutls for src


Ignore:
Timestamp:
Jan 29, 2013, 8:05:42 PM (7 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
929d313
Parents:
0367e02
git-author:
Daniel Kahn Gillmor <dkg@…> (01/26/13 23:49:23)
git-committer:
Daniel Kahn Gillmor <dkg@…> (01/29/13 20:05:42)
Message:

correct context terminology for GnuTLSCache configurations

"global config" is not one of the four standard directive contexts as
seen at:

https://httpd.apache.org/docs/2.2/mod/directive-dict.html#Context

The intent was clearly "server config"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r0367e02 r480aba1  
    337337        const char *arg) {
    338338    int argint;
    339     mgs_srvconf_rec *sc =
    340             (mgs_srvconf_rec *) ap_get_module_config(parms->server->
    341             module_config,
    342             &gnutls_module);
     339    const char *err;
     340    mgs_srvconf_rec *sc =
     341            (mgs_srvconf_rec *) ap_get_module_config(parms->server->
     342            module_config,
     343            &gnutls_module);
     344
     345    if ((err = ap_check_cmd_context(parms, GLOBAL_ONLY))) {
     346        return err;
     347    }
    343348
    344349    argint = atoi(arg);
Note: See TracChangeset for help on using the changeset viewer.