aboutsummaryrefslogtreecommitdiffstats
path: root/audio/amarok-kde4/files/patch-amarok_src_socketserver.cpp
blob: 9479eb3342b8ebdcf0d8ba81a284cd2f99540956 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

$FreeBSD$

--- amarok/src/socketserver.cpp.orig
+++ amarok/src/socketserver.cpp
@@ -47,8 +47,9 @@
 class AmaroKProcess : public KProcess {
     public:
     virtual int commSetupDoneC() {
+   int i = KProcess::commSetupDoneC();
         amaroK::closeOpenFiles(KProcess::out[0],KProcess::in[0], KProcess::err[0]);
-        return KProcess::commSetupDoneC();
+   return i;
     };
 };