aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook-api.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-11-21 08:44:00 -0300
committerdequis <dx@dxzone.com.ar>2016-11-21 08:44:00 -0300
commitece0715947de3e11c5a726131dcd91900e986f98 (patch)
tree9c9ea770190970bce5f811366e05b9e5f4eb9595 /facebook/facebook-api.c
parent609ca2d52d468863c99ff3539917f2049ea3df44 (diff)
downloadbitlbee-facebook-ece0715947de3e11c5a726131dcd91900e986f98.tar.gz
bitlbee-facebook-ece0715947de3e11c5a726131dcd91900e986f98.tar.bz2
bitlbee-facebook-ece0715947de3e11c5a726131dcd91900e986f98.tar.xz
Set a non-empty HTTP User-Agent
Shot in the dark to fix checkpoint issues, but had to be done anyway.
Diffstat (limited to 'facebook/facebook-api.c')
-rw-r--r--facebook/facebook-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/facebook/facebook-api.c b/facebook/facebook-api.c
index 827b70e..4a54e41 100644
--- a/facebook/facebook-api.c
+++ b/facebook/facebook-api.c
@@ -477,7 +477,7 @@ fb_api_init(FbApi *api)
priv = G_TYPE_INSTANCE_GET_PRIVATE(api, FB_TYPE_API, FbApiPrivate);
api->priv = priv;
- priv->http = fb_http_new(NULL);
+ priv->http = fb_http_new(FB_API_AGENT);
priv->mqtt = fb_mqtt_new();
priv->msgs = g_queue_new();
priv->data = g_hash_table_new_full(g_direct_hash, g_direct_equal,