Darrell Anderson 13 years ago
commit e6a78ded90

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