I'm away from my devel machine right now, but from what I remember, you
changed the slpifaces structure from having two static arrays of
SLP_MAX_IFACES to two pointers. It appeared to me at the time that
SLPDDatabaseReg wasn't allocating memory for those pointers when
initializing the slpifaces structure. I didn't see other errors, but I'm a
little careful when it comes to changing arrays to pointers -- a typical
way for errors to be introduced. Otherwise, the patch looked good. My
apologies if I'm mis-remembering the issue, or if I wasn't reading the
patch correctly in the first place!
--Nick
On Wed, Sep 26, 2012 at 11:25 AM, David Stevens <dlstev...@us.ibm.com>wrote:
> nwagner...@gmail.com wrote on 09/19/2012 12:07:00 PM:
>
> > It appears that SLPDDatabaseReg doesn't initialize slpifaces
> > correctly. Please double-check all uses of SLPIfaceGetInfo and the
> > SLPIfaceInfo structure.
>
> Nick,
> I looked at this and it appears to be working for me.
> I set a different value in the config file and I see the new
> value when I get to SLPDDatabaseReg; when I don't set it in the
> config file, I see the default of 100.
> Can you tell me what you tried that was broken?
>
> +-DLS
>
>
>
> ------------------------------------------------------------------------------
> How fast is your code?
> 3 out of 4 devs don\\\'t know how their code performs in production.
> Find out how slow your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219672;13503038;z?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Openslp-devel mailing list
> Openslp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openslp-devel
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel