remove dublicated code in uip/spost
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 31 May 2015 00:10:32 +0000 (02:10 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Thu, 11 Jun 2015 16:50:01 +0000 (18:50 +0200)
To avoid bugs like in commit dc81afc84b4d53177a1c4

uip/spost.c

index 163c1e6..ee70385 100644 (file)
@@ -223,10 +223,6 @@ main(int argc, char **argv)
        for (compnum = 1, state = FLD;;) {
                switch (state = m_getfld(state, name, buf, sizeof(buf), in)) {
                case FLD:
-                       compnum++;
-                       putfmt(name, buf, out);
-                       continue;
-
                case FLDPLUS:
                        compnum++;
                        cp = getcpy(buf);