Bugs item #1657899, was opened at 2007-02-12 13:38
Message generated for change (Comment added) made by miconda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1657899&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: vabdulla (vabdulla)
>Assigned to: Daniel-Constantin Mierla (miconda)
Summary: exec_avp return value list reversed

Initial Comment:
Hello,

I have played whith the exec module and discovered that the exec_avp command 
returns reversed output lines i.e. the last line is affected to the first avp.

More concretly, I have the following command in my config file:
--
exec_avp("./test-exec-avp.sh","$avp(s:fi);$avp(s:se);$avp(s:th)");
xlog("L_DBG","recv:fi=$avp(s:fi),se=$avp(s:se),th=$avp(s:th)");
--

the shell script simply outputs:
--
[EMAIL PROTECTED]:~$ ./test-exec-avp.sh
1st
2nd
3rd
--

But when I look to the logs I see that the avps have the following values:
$avp(s:fi)="3rd"
$avp(s:se)="2nd"
$avp(s:th)="1st"

Very strange...

-- 
Regards,
-vma
.


----------------------------------------------------------------------

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-02-14 14:37

Message:
Logged In: YES 
user_id=1246013
Originator: NO

Fixed on CVS. Thanks for reporting.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1657899&group_id=139143

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to