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>2017-04-17 10:46:30 +0300
committerEion Robb <eion@robbmob.com>2017-04-17 10:46:30 +0300
commite95356fe75ba1b67b266690a12caf105585e412b (patch)
tree6adddf4bc42fa1899b5d7df58f09e5acd066d365 /skypeweb/skypeweb_util.c
parent1dba378157bc5a1cea5441a2e5ff1bb54b5f72b9 (diff)
Multiple fixes for issue #541
* Parse 404 responses as they have useful data * Attach to an endpoint before setting online status * Allow specifying NULL as an `end` param for get_chunk()
Diffstat (limited to 'skypeweb/skypeweb_util.c')
-rw-r--r--skypeweb/skypeweb_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skypeweb/skypeweb_util.c b/skypeweb/skypeweb_util.c
index 7b0862c..9aea0ed 100644
--- a/skypeweb/skypeweb_util.c
+++ b/skypeweb/skypeweb_util.c
@@ -24,7 +24,7 @@ gchar *
skypeweb_string_get_chunk(const gchar *haystack, gsize len, const gchar *start, const gchar *end)
{
const gchar *chunk_start, *chunk_end;
- g_return_val_if_fail(haystack && start && end, NULL);
+ g_return_val_if_fail(haystack && start, NULL);
if (len > 0) {
chunk_start = g_strstr_len(haystack, len, start);