]> diplodocus.org Git - nmh/commitdiff
Removed addition of whomproc to the vec array in whomfile()
authorDavid Levine <levinedl@acm.org>
Tue, 19 Feb 2013 03:32:24 +0000 (21:32 -0600)
committerDavid Levine <levinedl@acm.org>
Tue, 19 Feb 2013 03:32:24 +0000 (21:32 -0600)
now that argsplit() does it.

uip/whatnowsbr.c

index bb0ac14..fd42f82 100644 (file)
@@ -1336,7 +1336,6 @@ whomfile (char **arg, char *file)
 
        case OK:
            vec = argsplit(whomproc, &program, &vecp);
-           vec[vecp++] = r1bindex (whomproc, '/');
            vec[vecp++] = file;
            if (arg)
                while (*arg)