diff options
author | horchi <vdr@jwendel.de> | 2018-10-03 10:45:40 +0200 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2018-10-03 10:45:40 +0200 |
commit | 02fe82df754d3ec5a0a68a5fe1c0a020863afdf3 (patch) | |
tree | 527b611f1a6154206babf433c0f504f567be40c2 /episode.c | |
parent | bd6ac8b88a6e128ad8778aad89f5d8c3f31148de (diff) | |
download | vdr-epg-daemon-02fe82df754d3ec5a0a68a5fe1c0a020863afdf3.tar.gz vdr-epg-daemon-02fe82df754d3ec5a0a68a5fe1c0a020863afdf3.tar.bz2 |
2018-10-03: version 1.1.144 (horchi)\n change: Fixed g++-8 warnings\n\n1.1.144
Diffstat (limited to 'episode.c')
-rw-r--r-- | episode.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -271,19 +271,19 @@ int cEpisodeFile::storeToTable(cDbTable* episodeDb, const cList<cLine>* linkLine if (!isEmpty(ex1) && !isEmpty(col1Name)) { - snprintf(ex, 250, "%s: %s", col1Name, ex1); + sprintf(ex, "%.20s: %.220s", col1Name, ex1); episodeDb->setValue("EXTRACOL1", ex); } if (!isEmpty(ex2) && !isEmpty(col2Name)) { - snprintf(ex, 250, "%s: %s", col2Name, ex2); + sprintf(ex, "%.20s: %.220s", col2Name, ex2); episodeDb->setValue("EXTRACOL2", ex); } if (!isEmpty(ex3) && !isEmpty(col3Name)) { - snprintf(ex, 250, "%s: %s", col3Name, ex3); + sprintf(ex, "%.20s: %.220s", col3Name, ex3); episodeDb->setValue("EXTRACOL3", ex); } |