]> diplodocus.org Git - nmh/commitdiff
Use LEN() on string constants instead of strlen().
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 23:09:47 +0000 (00:09 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 23:09:47 +0000 (00:09 +0100)
sbr/seq_read.c

index 6f807c6..8b58639 100644 (file)
@@ -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) {