From febcc86370a1ae7eb1c1c42df9731b02d72b7964 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 2 Mar 2013 20:25:24 -0600 Subject: Fix when kompmgr printf message is displayed. --- twin/workspace.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'twin') diff --git a/twin/workspace.cpp b/twin/workspace.cpp index aeb7ce283..cae56b2f9 100644 --- a/twin/workspace.cpp +++ b/twin/workspace.cpp @@ -243,8 +243,6 @@ Workspace::Workspace( bool restore ) strcat(filename, home); strcat(filename, configfile); - printf("[twin-workspace] reading '%s' as kompmgr pidfile\n\n", filename); - // Now that we did all that by way of introduction...read the file! FILE *pFile; char buffer[255]; @@ -252,6 +250,7 @@ Workspace::Workspace( bool restore ) int kompmgrpid = 0; if (pFile) { + printf("[twin-workspace] Using '%s' as kompmgr pidfile\n\n", filename); // obtain file size fseek (pFile , 0 , SEEK_END); unsigned long lSize = ftell (pFile); @@ -1095,8 +1094,6 @@ void Workspace::slotReconfigure() strcat(filename, home); strcat(filename, configfile); - printf("[twin-workspace] reading '%s' as kompmgr pidfile\n\n", filename); - // Now that we did all that by way of introduction...read the file! FILE *pFile; char buffer[255]; @@ -1104,6 +1101,7 @@ void Workspace::slotReconfigure() int kompmgrpid = 0; if (pFile) { + printf("[twin-workspace] Using '%s' as kompmgr pidfile\n\n", filename); // obtain file size fseek (pFile , 0 , SEEK_END); unsigned long lSize = ftell (pFile); -- cgit v1.2.1