Merge branch 'release-1.8.1-dev' of https://github.com/HomeSpan/HomeSpan into release-1.8.1-dev

This commit is contained in:
Gregg 2024-01-12 18:31:06 -06:00
commit fe9e3d7942
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ class SpanCharacteristic{
return(String(c));
case FORMAT::STRING:
case FORMAT::DATA:
sprintf(c,"\"%s\"",u.STRING);
sprintf(c,"\"%.61s\"",u.STRING); // Truncating string to 61 chars.
return(String(c));
} // switch
return(String()); // included to prevent compiler warnings