This closes Bug 1005 (cherry picked from commit 0dcda4bbff)
0dcda4bbff
@ -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....