"Also sprach Peter T. Breuer:"
> It's "reset=1".
BTW, you can probably get rid of the "=1" if you change the bit in
getarg() that says
if (*buffer != '=') {
return -1;
}
to
if (*buffer != '=') {
// no =, assume =1 is intended
if (*buffer == '\n' || !*buffer) {
*i = 1;
return 1;
}
// if got funny trailing chars, error
return -1;
}
and cross your fingers.
Peter