Revision: 14292
Author: adrian.chadd
Date: Mon Aug 31 22:47:36 2009
Log: Look at fixing issue 54 - method_t pointer must not be NULL.

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

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

=======================================
--- /branches/LUSCA_HEAD/src/store.c    Sun Jul  5 05:27:26 2009
+++ /branches/LUSCA_HEAD/src/store.c    Mon Aug 31 22:47:36 2009
@@ -480,7 +480,7 @@
        mem->id = getKeyCounter();
        newkey = storeKeyPrivate(mem->url, mem->method, mem->id);
      } else {
-       newkey = storeKeyPrivate("JUNK", NULL, getKeyCounter());
+       newkey = storeKeyPrivate("JUNK", urlMethodGetKnown("NONE", 4),  
getKeyCounter());
      }
      assert(hash_lookup(store_table, newkey) == NULL);
      EBIT_SET(e->flags, KEY_PRIVATE);

--~--~---------~--~----~------------~-------~--~----~
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