Hi Andreas/Peter,

Sorry for the delay.  I was out of office and just came back.  I'll make
the change.


Thanks!
Vicky





On Sun, Aug 3, 2014 at 6:20 PM, Peter Hüwe <[email protected]> wrote:

> Hi Andreas,
> Am Freitag, 1. August 2014, 09:07:20 schrieb Fuchs, Andreas:
> > Hi Peter,
> >
> > I looked at src/tcsd/tcsd_threads.c real quick...
> >
> > @Peter: Would you mind commenting out line 167:
> > "tm->thread_data[thread_num].hostname = NULL;" and see if this helps ?
> > Since thread_num == -1 in the error-case you describe this should go
> > wrong... ;-)
> >
> > @Vicky: would you mind guaring line 167 with the following in any case
> > (even if it is not what triggered Peter's error) ? if (hostname != NULL)
> {
> > +             if (thread_num != -1)
> > +                     tm->thread_data[thread_num].hostname = NULL;
> > -             tm->thread_data[thread_num].hostname = NULL;
> >               free(hostname);
>
> Seems to work ;)
> Reported-by: Peter Huewe <[email protected]>
> Tested-by: Peter Huewe <[email protected]>
>
> Thanks,
>
> Peter
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> TrouSerS-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/trousers-tech
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to