It still has this comment, so we can get rid of that comment and fix the order at the same time:-))

/*
 * This really should be: cmd why ?arg?, but why and arg
 * are reversed for backwards compatibility.
 */


Stephen Deasey wrote:
Fixed in CVS a couple of days ago.  My fault, I missread the original
code and thought that like registered procs, if you didn't explicitly
pass an arg a blank string was passed.  Should work now.




On 12/29/05, Vlad Seryakov <[EMAIL PROTECTED]> wrote:

It is in

int NsTclFilterProc(void *arg, Ns_Conn *conn, int why)

why arg is added after script args

We can change it easily to always specify why first


Zoran Vasiljevic wrote:

Am 29.12.2005 um 20:54 schrieb Vlad Seryakov:


ns_register_filter trace GET * myfilter

calls now "myfilter {} WHY"


But *why* is this so? IOW, what is this empty argument
passed to the myfilter? Is this something we overlooked
or is it something done on purpose, or what?

I mean, maybe somebody has the answer out of the sleeve
and if not, I will have to dig into that...

Cheers
Zoran


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


Reply via email to