From: Ralph Corderoy Date: Wed, 19 Oct 2016 23:09:47 +0000 (+0100) Subject: Use LEN() on string constants instead of strlen(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/2ff6abb1d4635521329716ea00f2c6c919929be5?ds=sidebyside Use LEN() on string constants instead of strlen(). --- diff --git a/sbr/seq_read.c b/sbr/seq_read.c index 6f807c65..8b58639a 100644 --- a/sbr/seq_read.c +++ b/sbr/seq_read.c @@ -142,7 +142,7 @@ seq_private (struct msgs *mp) char *cp; struct node *np; - alen = strlen ("atr-"); + alen = LEN("atr-"); plen = strlen (mp->foldpath) + 1; for (np = m_defs; np; np = np->n_next) {