Key To Meta: Fix warning about truncated string
@@ -96,7 +96,7 @@ int elektraKeyAppendMetaLine (Key * target, const char * metaName, const char *
keyGetString (existingMeta, buffer, keyGetValueSize (existingMeta));
strcat (buffer, "\n");
- strncat (buffer, line, strlen (line));
+ strncat (buffer, line, elektraStrLen (line));
keySetMeta (target, metaName, buffer);
elektraFree (buffer);
