< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] DnsUtil.cxx


I have just checked an official fix for this into SVN main line.  Please let me know if you have any issues with it.

Scott

On Sat, Aug 11, 2012 at 10:14 AM, Mike Hubbard <mike.hubbard@xxxxxxx> wrote:
This changed also solved my problem as well as my symptoms were the exact
same as Gabriel's.  Thank you Gabriel and Byron!

Mike

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Gabriel Hege
Sent: Friday, August 10, 2012 4:53 AM
To: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] DnsUtil.cxx

Hi,

I also had a small problem with getLocalHostName() being called on
application startup.

On my windows box my application shows the following log-message on startup:
INFO | 20120810-134241.423 |  | RESIP:DNS | 8048 | DnsUtil.cxx:156 | local
hostname does not contain a domain part gabriel-laptop

This message can not be supppressed, since the corresponding code runs
before the first line in main(). Making the localhostname a function-scope
static as suggested by Byron solved the problem for me.


The patch is attached.


Best reagrds,
  gabriel



Am 06.08.2012 19:45, schrieb Byron Campen:
> Shouldn't this be a function-scope static anyway?
>
> Best regards,
> Byron Campen