Unnamed
public text v1 · immutableconst char * cgi_getentrystr(const char *field_name)
{
int x;
if (cgi_request_method != CGIREQ_NONE)
{
/* Look for the name: */
for (x = 0; x < cgi_num_entries; x++)
{
if (strcmp(cgi_entries[x].name, field_name) == 0)
{
return (cgi_entries[x].val);
}
}
return(NULL);
}
else
{
/* printf("CGI-UTIL: \"%s\" ? ", field_name);
fgets(buf, 512, stdin);
buf[strlen(buf) - 1] = '\0'; */
return(NULL);
}
}