Re: core segfaults (Yahoo?)
Philip S Tellis <[email protected]> Sat, 6 Mar 2004 12:16:27 +0530 (IST)
| Newsgroups | gmane.network.everybuddy.devel |
|---|---|
| Message-ID | <[email protected]> |
Sometime on Mar 5, A. Craig West assembled some asciibets to say:
> default:
> {
> acc->status = away ? EB_ACCOUNT_AWAY : EB_ACCOUNT_ONLINE;
> - acc->status_string = strdup(msg);
> + acc->status_string = msg ? (strdup(msg)) : (strdup("Unknown"));
If msg is null, your status_string should be ""
--
"Mind if I smoke?"
"I don't care if you burst into flames and die!"