summaryrefslogtreecommitdiffstats
path: root/x11/kdelibs11/files/patch-ak
blob: e1a4af84f75b8baae12a025be726310350296abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- kfmlib/kfm.cpp.orig	Wed Jun  2 10:07:42 1999
+++ kfmlib/kfm.cpp	Tue Jan 25 22:00:23 2000
@@ -44,9 +44,9 @@
   if (i==0)
     {
       // we are running local, so add the hostname
-      char name[25];
+      char name[256];
 
-      if (gethostname(name, 25) == 0)
+      if (gethostname(name, sizeof(name)) == 0)
 	d = name + d;
     }
 
OpenPOWER on IntegriCloud