mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-11 07:45:47 +00:00
All warnings eliminated, 1 bug sorted.
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
#include "lwip/inet.h"
|
||||
#include "../logging/logging.h"
|
||||
#include "new_http.h"
|
||||
#include "str_pub.h"
|
||||
|
||||
static void tcp_server_thread( beken_thread_arg_t arg );
|
||||
static void tcp_client_thread( beken_thread_arg_t arg );
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
|
||||
|
||||
#include "../new_common.h"
|
||||
#include "ctype.h"
|
||||
#include "str_pub.h"
|
||||
#include "new_http.h"
|
||||
#include "../new_pins.h"
|
||||
#include "../new_cfg.h"
|
||||
#include "../ota/ota.h"
|
||||
#include "tuya_hal_storge.h"
|
||||
|
||||
/*
|
||||
GET / HTTP/1.1
|
||||
@ -116,8 +118,9 @@ const char *http_checkArg(const char *p, const char *n) {
|
||||
}
|
||||
return p;
|
||||
}
|
||||
void http_copyCarg(const char *at, char *to, int maxSize) {
|
||||
char a, b;
|
||||
void http_copyCarg(const char *atin, char *to, int maxSize) {
|
||||
int a, b;
|
||||
const unsigned char *at = (unsigned char *)atin;
|
||||
|
||||
while(*at != 0 && *at != '&' && *at != ' ' && maxSize > 1) {
|
||||
#if 0
|
||||
@ -257,7 +260,7 @@ int HTTP_ProcessPacket(const char *recvbuf, char *outbuf, int outBufSize) {
|
||||
char tmpA[128];
|
||||
char tmpB[64];
|
||||
char tmpC[64];
|
||||
int bChanged = 0;
|
||||
//int bChanged = 0;
|
||||
const char *urlStr;
|
||||
|
||||
*outbuf = '\0';
|
||||
|
||||
Reference in New Issue
Block a user