X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Futils.c;h=6cf80fe3d229a2fab28ec00dd4b9149e0e11279f;hp=eb771a540c118cad770548a64b9cadfa61f85211;hb=356d8d558d844412119aa18c8e5a113bc6459c7b;hpb=7f736dde0da3c19855997d9e67370e351e15e923 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);