Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2009-09-06 23:49:50 +0400
committerEion Robb <eion@robbmob.com>2009-09-06 23:49:50 +0400
commitbe6fb1e8e3d269722b134388aedab46bba2c4198 (patch)
tree6afc8cc9dbf5ccc628f7a6914381dea48ee829fe /skype_events.c
parent71f44258a939c45ad96b4cba34935a7404391b91 (diff)
Check for a NULL string. Thanks to doktor.yak for the fix. Fixes #78
Diffstat (limited to 'skype_events.c')
-rw-r--r--skype_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skype_events.c b/skype_events.c
index 2cc2e05..0d2866e 100644
--- a/skype_events.c
+++ b/skype_events.c
@@ -654,7 +654,7 @@ skype_handle_received_message(char *message)
} else if (g_str_equal(string_parts[2], "USERS"))
{
temp_group = g_hash_table_lookup(groups_table, GINT_TO_POINTER(atoi(string_parts[1])));
- if (temp_group)
+ if (temp_group && string_parts[3])
{
chatusers = g_strsplit(string_parts[3], ", ", -1);
for (i = 0; chatusers[i]; i++)