| 805 | */ |
| 806 | |
| 807 | static int /* O - 1 if form data read */ |
| 808 | cgi_initialize_get(void) |
| 809 | { |
| 810 | char *data; /* Pointer to form data string */ |
| 811 | |
| 812 | |
| 813 | /* |
| 814 | * Check to see if there is anything for us to read... |
| 815 | */ |
| 816 | |
| 817 | data = getenv("QUERY_STRING"); |
| 818 | if (data == NULL || strlen(data) == 0) |
| 819 | return (0); |
| 820 | |
| 821 | /* |
| 822 | * Parse it out and return... |
| 823 | */ |
| 824 | |
| 825 | return (cgi_initialize_string(data)); |
| 826 | } |
| 827 | |
| 828 | |
| 829 | /* |
no test coverage detected