httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wilson <a.wil...@elsevier.co.uk>
Subject Re: cvs commit: apache/src CHANGES mod_dir.c
Date Mon, 23 Jun 1997 12:24:25 GMT
Is that double line intentional?  It appears in 2 parts of the patch.

  +             char *val;
  +             val = getword (cmd->pool, &x, '=');
  +             val = getword (cmd->pool, &x, '=');

Ay.


Rodent of Unusual Size:
> 
> coar        97/06/23 04:36:58
> 
>   Modified:    src       CHANGES mod_dir.c
>   Log:
>   	Add IconHeight and IconWidth to mod_dir's IndexOptions
>   	directive.  These allow the specification of HEIGHT and
>   	WIDTH attributes in the IMG tags emitted when FancyIndexing
>   	is enabled.
>   
>   Reviewed by:	Randy Terbush, Sameer Parekh
>   
>   Revision  Changes    Path
>   1.288     +4 -0      apache/src/CHANGES

[snip]

>   *** 209,214 ****
>   --- 218,247 ----
>                 opts |= SUPPRESS_DESC;
>             else if(!strcasecmp(w,"None"))
>                 opts = 0;
>   + 	else if (! strncasecmp (w, "IconWidth", 9)) {
>   + 	    if (strchr (w, '=') != NULL) {
>   + 		const char *x = pstrdup (cmd->pool, w);
>   + 		char *val;
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		d_cfg->icon_width = atoi(val);
>   + 	    }
>   + 	    else {
>   + 		d_cfg->icon_width = DEFAULT_ICON_WIDTH;
>   + 	    }
>   + 	}
>   + 	else if (! strncasecmp (w, "IconHeight", 10)) {
>   + 	    if (strchr (w, '=') != NULL) {
>   + 		const char *x = pstrdup (cmd->pool, w);
>   + 		char *val;
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		d_cfg->icon_height = atoi(val);
>   + 	    }
>   + 	    else {

[snip]

Mime
View raw message