B
barjunk
I've been looking at the code at:
http://ruby-asp.rubyforge.org/svn/trunk/ruby-sendmail-milter/milter.c
and although it doesn't work as presented, I was able to get it
working.
As I was going through the code I found a section like this:
pRbTSendmailMilter->xFilterName = STR2CSTR( filter );
pRbTSendmailMilter->xConnectString = STR2CSTR( conn );
and from what the 1.8.4 README.EXT file says is that these have been
deprecated. I'm
fairly new to C and I'm not exactly sure what this is doing. However,
it seems like I
should be able to just replace this with StringValueCStr.
Is there anything else that some of you more experienced C programmers
can see that might
also be a problem?
I wondered if the LHash stuff was needed with the newer version of
ruby as well.
Thanks for any advice.
Mike B.
http://ruby-asp.rubyforge.org/svn/trunk/ruby-sendmail-milter/milter.c
and although it doesn't work as presented, I was able to get it
working.
As I was going through the code I found a section like this:
pRbTSendmailMilter->xFilterName = STR2CSTR( filter );
pRbTSendmailMilter->xConnectString = STR2CSTR( conn );
and from what the 1.8.4 README.EXT file says is that these have been
deprecated. I'm
fairly new to C and I'm not exactly sure what this is doing. However,
it seems like I
should be able to just replace this with StringValueCStr.
Is there anything else that some of you more experienced C programmers
can see that might
also be a problem?
I wondered if the LHash stuff was needed with the newer version of
ruby as well.
Thanks for any advice.
Mike B.