Skip to content

Commit

Permalink
Consistent module name in logging statements, fixed capital letter ht…
Browse files Browse the repository at this point in the history
…tpS bug
  • Loading branch information
ewoutb committed Oct 13, 2015
1 parent 8916a28 commit d38a4d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sitestory-apache/mod_sitestory.c
Expand Up @@ -89,7 +89,7 @@ int iterate_func(void *req, const char *key, const char *value) {
s_ctx* sctx = (s_ctx*) f->ctx;

if (key == NULL || value == NULL || value[0] == '\0' || key[0]=='\0') return 1;
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "mod_tafilter3: in the iterate function%s:%s",key,value) ;
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "mod_sitestory: in the iterate function%s:%s",key,value) ;
line = apr_pstrcat(r->pool,key,":",value,"\r\n",NULL);

if (!sctx->headers) {
Expand Down Expand Up @@ -197,7 +197,7 @@ static apr_status_t ta_out_filter3(ap_filter_t *f,apr_bucket_brigade *bb){


if (sctx == NULL) {
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "mod_tafilter3: in the init section filter function") ;
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "mod_sitestory: in the init section filter function") ;

sctx = f->ctx = apr_pcalloc(r->pool, sizeof(s_ctx));
apr_pool_cleanup_null(sctx->headers);
Expand Down Expand Up @@ -493,7 +493,7 @@ static apr_status_t ta_out_filter3(ap_filter_t *f,apr_bucket_brigade *bb){
char * pcH;
pch=strchr(protocolstr,'s');
pcH=strchr(protocolstr,'S');
if (pch != NULL|| pch!=NULL){
if (pch != NULL|| pcH!=NULL){
sprotocol = "https://";
}
else {
Expand Down

0 comments on commit d38a4d9

Please sign in to comment.