Re: core segfaults (Yahoo?)

"A. Craig West" <[email protected]> Sun, 7 Mar 2004 15:43:41 -0500 (EST)
Newsgroups gmane.network.everybuddy.devel
Message-ID <[email protected]>
On Sat, 6 Mar 2004, Philip S Tellis wrote:

> If msg is null, your status_string should be ""


Okay, and I'll commit it, too...

-------------------Patch Begins------------------
Index: core/plugins/yahoo/yahoo.c
===================================================================
--- core/plugins/yahoo/yahoo.c	(revision 306)
+++ core/plugins/yahoo/yahoo.c	(working copy)
@@ -669,7 +669,7 @@
     default:
     {
       acc->status = away ? EB_ACCOUNT_AWAY : EB_ACCOUNT_ONLINE;
-      acc->status_string = msg ? (strdup(msg)) : (strdup("Unknown"));
+      acc->status_string = msg ? (strdup(msg)) : (strdup(""));
     }
   }
 
-------------------Patch Ends------------------

-- 
Craig West         Ph: (416) 666-1645	|  It's not a bug,
[email protected]              	|  It's a feature...