You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "maskit (via GitHub)" <gi...@apache.org> on 2023/03/09 22:42:43 UTC

[GitHub] [trafficserver] maskit commented on a diff in pull request #9232: Add support for CMCD-Request header nor field to prefetch plugin

maskit commented on code in PR #9232:
URL: https://github.com/apache/trafficserver/pull/9232#discussion_r1131702459


##########
plugins/prefetch/plugin.cc:
##########
@@ -460,7 +542,7 @@ contHandleFetch(const TSCont contp, TSEvent event, void *edata)
         /* first-pass */
         if (!config.isExactMatch()) {
           data->_fetchable = state->acquire(data->_cachekey);
-          PrefetchDebug("request is %s fetchable", data->_fetchable ? " " : " not ");
+          PrefetchDebug("request is %s fetchable", data->_fetchable ? "" : "not");

Review Comment:
   More appropriate fix would be removing spaces around %s instead of changing the literals.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org