xr809 fixing and organziation

This commit is contained in:
openshwprojects
2022-04-15 14:07:26 +02:00
parent 91d6e10693
commit 66aa9277f8
6 changed files with 126 additions and 4 deletions

View File

@ -202,7 +202,7 @@ void http_copyCarg(const char *atin, char *to, int maxSize) {
*to = 0;
}
bool http_getArg(const char *base, const char *name, char *o, int maxSize) {
int http_getArg(const char *base, const char *name, char *o, int maxSize) {
*o = '\0';
while(*base != '?') {
if(*base == 0)

View File

@ -56,7 +56,7 @@ int poststr(http_request_t *request, const char *str);
int postany(http_request_t *request, const char *str, int len);
void misc_formatUpTimeString(int totalSeconds, char *o);
void HTTP_AddBuildFooter(http_request_t *request);
bool http_getArg(const char *base, const char *name, char *o, int maxSize);
int http_getArg(const char *base, const char *name, char *o, int maxSize);
// poststr with format - for results LESS THAN 128
int hprintf128(http_request_t *request, const char *fmt, ...);