Changeset ec454bd


Ignore:
Timestamp:
04/24/14 19:32:37 (13 months ago)
Author:
Mathias Panzenböck <grosser.meister.morti@…>
Branches:
master, enter/10, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
eaea8ff, 1126e80
Parents:
869e63f
Message:

make name buffer even larger

I just realized there are some quite large host names out there. E.g. www.llanfairpwllgwyngyllgogerychwyrndrobwyll-llantysiliogogogoch.com

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-desktop/Globals.h

    r869e63f rec454bd  
    2222        //Current Hostname 
    2323        static QString hostname(){  
    24           char name[64]; 
     24          char name[BUFSIZ]; 
    2525          int count = gethostname(name,sizeof(name)); 
    2626          if (count < 0) { 
Note: See TracChangeset for help on using the changeset viewer.