]> git.pond.sub.org Git - empserver/blobdiff - src/client/termio.c
Remove useless multiplications with sizeof(char) and sizeof(s_char).
[empserver] / src / client / termio.c
index 8025406d090eb18e29a7f5cb5175b29db415a54d..a75b080d55030c8ce35ae40bc17fb8f661c412c1 100644 (file)
@@ -164,7 +164,7 @@ termio(int fd, int sock, FILE *auxfi)
        if (*p == '\n') {
            if (tagging) {
                tag = malloc(sizeof(struct tagstruct));
-               tag->item = malloc((1 + p - s) * sizeof(char));
+               tag->item = malloc(1 + p - s);
                tag->next = taglist;
                taglist = tag;
                t = tag->item;