diff options
author | VMiklos <vmiklos@frugalware.org> | 2007-09-03 14:57:26 +0200 |
---|---|---|
committer | VMiklos <vmiklos@frugalware.org> | 2007-09-03 14:57:26 +0200 |
commit | 4eaff412eb4656df5a17a35e770b195f24f046f0 (patch) | |
tree | b4eb7998f1a9553c34b0b38356e25f1808219023 | |
parent | 478c0518323b48c24ddd2474acc8a870d00c2acb (diff) |
skype_read_callback(): ignore empty messages
skype itself does the same
-rw-r--r-- | skype/skype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skype/skype.c b/skype/skype.c index ff5cf2e4..2d4e8676 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -265,7 +265,7 @@ static gboolean skype_read_callback( gpointer data, gint fd, b_input_condition c else if(!strncmp(info, "BODY ", 5)) { info += 5; - if(sd->handle) + if(sd->handle && strlen(info)) { /* New body, we have everything to use imcb_buddy_msg() now! */ imcb_buddy_msg(ic, sd->handle, info, 0, 0); |