Changeset 8581fac in mod_gnutls for src


Ignore:
Timestamp:
Sep 25, 2011, 11:48:04 PM (8 years ago)
Author:
Dash Shendy <neuromancer@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
b7098b2
Parents:
d7d39bb
Message:

Compilation Errors Fixup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    rd7d39bb r8581fac  
    533533    } else if(s->names) {
    534534    /* ServerAlias Directives */
     535            names = s->names;
    535536            char **name = (char **)names->elts;           
    536537            for (i = 0; i < names->nelts; ++i) {
     
    541542    } else if(s->wild_names) {
    542543    /* Wild ServerAlias Directives */
    543             char **name = (char **)wild_names->elts;
    544             for (i = 0; i < wild_names->nelts; ++i) {
     544            names = s->wild_names;
     545            char **name = (char **)names->elts;
     546            for (i = 0; i < names->nelts; ++i) {
    545547                    if (!name[i]) { continue; }
    546548                    if (!ap_strcasecmp_match(x->sni_name, name[i])) {
Note: See TracChangeset for help on using the changeset viewer.