dgaudet 97/12/18 11:55:18
Modified: src/modules/standard mod_autoindex.c Log: egads what went wrong with indent on this module Revision Changes Path 1.59 +14 -14 apachen/src/modules/standard/mod_autoindex.c Index: mod_autoindex.c =================================================================== RCS file: /export/home/cvs/apachen/src/modules/standard/mod_autoindex.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- mod_autoindex.c 1997/12/18 19:53:18 1.58 +++ mod_autoindex.c 1997/12/18 19:55:17 1.59 @@ -1044,26 +1044,26 @@ direction = D_ASCENDING; } else { - qstring = r->args; + qstring = r->args; - /* + /* * If no QUERY_STRING was specified, we use the default: ascending * by name. - */ - if ((qstring == NULL) || (*qstring == '\0')) { - keyid = K_NAME; - direction = D_ASCENDING; - } - else { - keyid = *qstring; - getword(r->pool, &qstring, '='); - if (qstring != '\0') { - direction = *qstring; + */ + if ((qstring == NULL) || (*qstring == '\0')) { + keyid = K_NAME; + direction = D_ASCENDING; } else { - direction = D_ASCENDING; + keyid = *qstring; + getword(r->pool, &qstring, '='); + if (qstring != '\0') { + direction = *qstring; + } + else { + direction = D_ASCENDING; + } } - } } /*