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 /webdo.c | |
parent | 3cb6966a65b0102f9016c0c6c9ed33dfe5fee913 (diff) | |
download | vdr-epg-daemon-e8781e497a86af36db0aa595f8322f2947815fc3.tar.gz vdr-epg-daemon-e8781e497a86af36db0aa595f8322f2947815fc3.tar.bz2 |
mor compiler warnings
Diffstat (limited to 'webdo.c')
-rw-r--r-- | webdo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -587,7 +587,7 @@ int cEpgHttpd::doChannelLogo(MHD_Connection* tcp, json_t* obj, MemoryStruct* dat if (strcasecmp(suffixOf(path), "svg") == 0) { if (loadFromFile(path, data) == success) - sprintf(data->name, "%.*s", (int)sizeof(data->name), path); + sprintf(data->name, "%.*s", (int)sizeof(data->name)-1, path); } else { |