Changeset View
Changeset View
Standalone View
Standalone View
contrib/tcp_wrappers/update.c
Show All 27 Lines | |||||
/* Local stuff. */ | /* Local stuff. */ | ||||
#include "mystdarg.h" | #include "mystdarg.h" | ||||
#include "tcpd.h" | #include "tcpd.h" | ||||
/* request_fill - request update engine */ | /* request_fill - request update engine */ | ||||
static struct request_info *request_fill(request, ap) | static struct request_info *request_fill(struct request_info *request, | ||||
struct request_info *request; | va_list ap) | ||||
va_list ap; | |||||
{ | { | ||||
int key; | int key; | ||||
char *ptr; | char *ptr; | ||||
while ((key = va_arg(ap, int)) > 0) { | while ((key = va_arg(ap, int)) > 0) { | ||||
switch (key) { | switch (key) { | ||||
default: | default: | ||||
tcpd_warn("request_fill: invalid key: %d", key); | tcpd_warn("request_fill: invalid key: %d", key); | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |