]> git.marmaro.de Git - mmh/blobdiff - sbr/seq_getnum.c
Rearranged whitespace (and comments) in all the code!
[mmh] / sbr / seq_getnum.c
index 251b60918da432e7d96511cbed60ea043e069bd6..c5ff8b40f98cd4c6431689f43694a893c3a25b34 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * seq_getnum.c -- find the index for a sequence
  *              -- return -1 if sequence doesn't exist
 int
 seq_getnum (struct msgs *mp, char *seqname)
 {
-    int i;
+       int i;
 
-    for (i = 0; mp->msgattrs[i]; i++)
-       if (!strcmp (mp->msgattrs[i], seqname))
-           return i;
+       for (i = 0; mp->msgattrs[i]; i++)
+               if (!strcmp (mp->msgattrs[i], seqname))
+                       return i;
 
-    return -1;
+       return -1;
 }