[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: branches/KDE/3.5/kdelibs/kioslave/http
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-09-10 20:14:06
Message-ID: 200509101714.15252.thiago () kde ! org
[Download RAW message or body]


Szombathelyi György wrote:
>+    char name[512];
>+    QString ws;
>+    if ( gethostname( name, sizeof(name) ) == 0 ) ws =

Don't use gethostname. Use KNetwork::KResolver::localHostHame().

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic