X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Futils.c;h=6cf80fe3d229a2fab28ec00dd4b9149e0e11279f;hb=9e05a25d76b3f83096c661678010320df673df6b;hp=eb771a540c118cad770548a64b9cadfa61f85211;hpb=c44ae5e6a7338c96eb463881fe709b2dfaffe568;p=ppp.git diff --git a/pppd/utils.c b/pppd/utils.c index eb771a5..6cf80fe 100644 --- a/pppd/utils.c +++ b/pppd/utils.c @@ -286,19 +286,6 @@ vslprintf(buf, buflen, fmt, args) (ip >> 16) & 0xff, (ip >> 8) & 0xff, ip & 0xff); str = num; break; -#if 0 /* not used, and breaks on S/390, apparently */ - case 'r': - f = va_arg(args, char *); -#ifndef __powerpc__ - n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list)); -#else - /* On the powerpc, a va_list is an array of 1 structure */ - n = vslprintf(buf, buflen + 1, f, va_arg(args, void *)); -#endif - buf += n; - buflen -= n; - continue; -#endif case 't': time(&t); str = ctime(&t);