Skip to content

Commit

Permalink
Update agentc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
500Foods authored May 18, 2024
1 parent 2388d7f commit 65c3950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AgentC/agentc.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define MAX_LOG_DETAIL_SIZE 100
#define MAX_REST_SERVICES 10

// Hash Seedf
// Hash Seed
#define XXH_STATIC_SEED 1234567

// Debug Flags
Expand Down Expand Up @@ -366,7 +366,7 @@ void LogFinalize(struct lws *wsi, LogInfo log_info) {
int msecs = 0;
gettimeofday(&stop, NULL);
msecs = (int)((double)(stop.tv_usec - log_info.start.tv_usec) / 1000 + (double)(stop.tv_sec - log_info.start.tv_sec));
;

ws_session_data *session_data = (ws_session_data *)lws_wsi_user(wsi);
const char *request_ip = session_data ? session_data->request_ip : "";
const char *request_app = session_data ? session_data->request_app : "";
Expand Down

0 comments on commit 65c3950

Please sign in to comment.