Fix drkonqui failure

This closes Bug 1005
(cherry picked from commit 0dcda4bbff)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 7d055511cc
commit 34180e15ea

@ -301,10 +301,7 @@ void KCrash::startDrKonqi( const char* argv[], int argc )
} }
long pid; long pid;
read_socket(socket, buffer, header.arg_length); read_socket(socket, buffer, header.arg_length);
pid = 0; pid = *((long *) buffer);
for (int k=0;k<sizeof(long);k++) {
pid = pid | (buffer[k] << ((sizeof(long)-1-k)*8));
}
alarm(0); // Seems we made it.... alarm(0); // Seems we made it....

Loading…
Cancel
Save