Revision: 14346
Author: adrian.chadd
Date: Wed Oct 28 05:23:15 2009
Log: Since all the current logging code spits out [A-Z]* methods for  
logging and
these do not include spaces, make certain that the logged message in case
a NULL method is similarly space-less.

I'd rather not confuse peoples' logfile parsers.


http://code.google.com/p/lusca-cache/source/detail?r=14346

Modified:
  /branches/LUSCA_HEAD/src/url.c

=======================================
--- /branches/LUSCA_HEAD/src/url.c      Tue Oct 27 00:34:59 2009
+++ /branches/LUSCA_HEAD/src/url.c      Wed Oct 28 05:23:15 2009
@@ -300,9 +300,9 @@
  {
        /* XXX this should log a NULL method! */
        if (! method)
-               return "(NULL Method)";
+               return "NULL";
        if (! method->string)
-               return "(NULL Method String)";
+               return "NULL";
        return method->string;
  }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to