Darrell Anderson 13 years ago
commit e6a78ded90

@ -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....

Loading…
Cancel
Save