X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhbuild.c;h=06a353acf9b7d64157763d401877ee952b146d7c;hb=fc71710f8695ea07d852284286b058ecb3955317;hp=3432ccc9839b0dbf1d78f267dfc56517ee620bff;hpb=0503a6e9be34f24858b55b555a5c948182b9f24b;p=mmh diff --git a/uip/mhbuild.c b/uip/mhbuild.c index 3432ccc..06a353a 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -36,10 +36,6 @@ # endif #endif -#ifdef HAVE_SYS_WAIT_H -# include -#endif - static struct swit switches[] = { #define CHECKSW 0 { "check", 0 }, @@ -1058,8 +1054,14 @@ use_forw: struct msgs *mp; if (ci->ci_magic) { + int i; + ap = brkstring(ci->ci_magic, " ", "\n"); - copyip(ap, arguments, MAXARGS); + for (i=0; ap[i] && i