diff options
author | horchi <vdr@jwendel.de> | 2018-10-03 16:01:10 +0200 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2018-10-03 16:01:10 +0200 |
commit | e8781e497a86af36db0aa595f8322f2947815fc3 (patch) | |
tree | d68640c50f9c971f341a7ea1fde0ddf658ded71a /httpd.c | |
parent | 3cb6966a65b0102f9016c0c6c9ed33dfe5fee913 (diff) | |
download | vdr-epg-daemon-e8781e497a86af36db0aa595f8322f2947815fc3.tar.gz vdr-epg-daemon-e8781e497a86af36db0aa595f8322f2947815fc3.tar.bz2 |
mor compiler warnings
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1617,7 +1617,7 @@ int cEpgHttpd::performHttpGet(MHD_Connection* tcp, const char* inurl, MemoryStru { const char* encoding = MHD_lookup_connection_value(tcp, MHD_HEADER_KIND, "Accept-Encoding"); - sprintf(data->name, "%.*s", (int)sizeof(data->name), url); + sprintf(data->name, "%.*s", (int)sizeof(data->name)-1, url); if (encoding && strstr(encoding, "gzip")) { |