-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.33 2008/04/12 14:03:13 fabiankeil Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.34 2008/04/13 13:32:07 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $
*
* Revisions :
* $Log: urlmatch.c,v $
+ * Revision 1.34 2008/04/13 13:32:07 fabiankeil
+ * Factor URL pattern compilation out of create_url_spec().
+ *
* Revision 1.33 2008/04/12 14:03:13 fabiankeil
* Remove an obvious comment and improve another one.
*
* function. If this function succeeds, the
* buffer is copied to url->spec. If this
* function fails, the contents of the buffer
- * are lost forever. XXX: Why is this const?
+ * are lost forever.
*
* Returns : JB_ERR_OK - Success
* JB_ERR_MEMORY - Out of memory
* written to system log)
*
*********************************************************************/
-jb_err create_url_spec(struct url_spec * url, const char * buf)
+jb_err create_url_spec(struct url_spec *url, char *buf)
{
assert(url);
assert(buf);