X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=servexec.c;h=2b110126abc0fa5fabf93d530eb5c6ff8733c77c;hp=abd36089ad5296b8c1692a2a413418d6f5c88618;hb=db59ee1476515a65cfcca10a3059d8ccb2d24d32;hpb=464d71c37246e556de9ec05f7b97af834a5224ee diff --git a/servexec.c b/servexec.c index abd3608..2b11012 100644 --- a/servexec.c +++ b/servexec.c @@ -68,41 +68,46 @@ void bisexec_version(const char *const *argv) { "production version" #endif " - protocol magic number %08lx\n" - "protocol checksum:", - BASE_MAGIC); - for (i=0, p=protocolchecksumversion; i0) { putchar(' '); nspaces--; } putchar(c); + lnl= 0; + break; } } - assert(*--string == '\n'); + assert(lnl); serv_checkstdoutexit(); }