Bug 53741

Summary: Code clean up (Concat string at compile time when possible)
Product: Apache httpd-2 Reporter: Christophe JAILLET <christophe.jaillet>
Component: AllAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED FIXED    
Severity: minor Keywords: FixedInTrunk, PatchAvailable
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Proposed patch

Description Christophe JAILLET 2012-08-19 22:19:57 UTC
Created attachment 29253 [details]
Proposed patch

Hi,

All is said in the title.
It is sometimes possibles to concat strings at compile time as already widely done in the source code.

Doing so, sometimes also give the opportunity to turn a 'ap_fputstrs' into a 'ap_fputs'


 modules/arch/netware/mod_nw_ssl.c  |    4 ++--
 modules/cache/mod_cache_disk.c     |    4 ++--
 modules/cache/mod_disk_cache.c     |    4 ++--
 modules/http/http_filters.c        |    6 +++---
 modules/mappers/mod_dir.c          |    2 +-
 modules/proxy/mod_proxy_balancer.c |    2 +-
 modules/ssl/ssl_engine_kernel.c    |    4 ++--
 server/protocol.c                  |    2 +-
 support/ab.c                       |    2 +-
 9 files changed, 15 insertions(+), 15 deletions(-)


Best regards
Comment 1 Yann Ylavic 2015-01-23 09:56:40 UTC
Backported to 2.4.11 in r1634525.