diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-07 23:52:52 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-07 23:52:52 -0500 |
commit | 0dcda4bbff4a3f20472833b09f4d4e2aff09a7a0 (patch) | |
tree | 3150bd711bd0651c1d1f6c83bcbc20d72a2847a5 | |
parent | 09d01cacf80d21ad213e6520b35e7f06e9546a83 (diff) | |
download | tdelibs-0dcda4bbff4a3f20472833b09f4d4e2aff09a7a0.tar.gz tdelibs-0dcda4bbff4a3f20472833b09f4d4e2aff09a7a0.zip |
Fix drkonqui failure
This closes Bug 1005
-rw-r--r-- | tdecore/kcrash.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tdecore/kcrash.cpp b/tdecore/kcrash.cpp index 4596a73ca..af9cc6dd7 100644 --- a/tdecore/kcrash.cpp +++ b/tdecore/kcrash.cpp @@ -301,10 +301,7 @@ void KCrash::startDrKonqi( const char* argv[], int argc ) } long pid; read_socket(socket, buffer, header.arg_length); - pid = 0; - for (int k=0;k<sizeof(long);k++) { - pid = pid | (buffer[k] << ((sizeof(long)-1-k)*8)); - } + pid = *((long *) buffer); alarm(0); // Seems we made it.... |