Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion include/tinycsocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#ifndef TINYCSOCKET_INTERNAL_H_
#define TINYCSOCKET_INTERNAL_H_

static const char* const TCS_VERSION_TXT = "v0.3.68";
static const char* const TCS_VERSION_TXT = "v0.3.69";
static const char* const TCS_LICENSE_TXT =
"Copyright 2018 Markus Lindelöw\n"
"\n"
Expand Down Expand Up @@ -3639,6 +3639,8 @@ TcsResult tcs_pool_poll(struct TcsPool* pool,
{
if (pool == NULL || events == NULL || events_populated == NULL)
return TCS_ERROR_INVALID_ARGUMENT;
if (timeout_ms < 0 && timeout_ms != TCS_WAIT_INF)
return TCS_ERROR_INVALID_ARGUMENT;

struct TdsMap_poll* map = &pool->backend.poll.map;

Expand Down Expand Up @@ -5543,6 +5545,8 @@ TcsResult tcs_pool_poll(struct TcsPool* pool,
return TCS_ERROR_INVALID_ARGUMENT;
if (events == NULL || events_populated == NULL)
return TCS_ERROR_INVALID_ARGUMENT;
if (timeout_ms < 0 && timeout_ms != TCS_WAIT_INF)
return TCS_ERROR_INVALID_ARGUMENT;

// Todo: add more modern implementation. Maybe dispatch att init?
// SELECT IMPLEMENTATION
Expand Down
2 changes: 1 addition & 1 deletion src/tinycsocket_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef TINYCSOCKET_INTERNAL_H_
#define TINYCSOCKET_INTERNAL_H_

static const char* const TCS_VERSION_TXT = "v0.3.68";
static const char* const TCS_VERSION_TXT = "v0.3.69";
static const char* const TCS_LICENSE_TXT =
"Copyright 2018 Markus Lindelöw\n"
"\n"
Expand Down
2 changes: 2 additions & 0 deletions src/tinycsocket_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,8 @@ TcsResult tcs_pool_poll(struct TcsPool* pool,
{
if (pool == NULL || events == NULL || events_populated == NULL)
return TCS_ERROR_INVALID_ARGUMENT;
if (timeout_ms < 0 && timeout_ms != TCS_WAIT_INF)
return TCS_ERROR_INVALID_ARGUMENT;

struct TdsMap_poll* map = &pool->backend.poll.map;

Expand Down
2 changes: 2 additions & 0 deletions src/tinycsocket_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,8 @@ TcsResult tcs_pool_poll(struct TcsPool* pool,
return TCS_ERROR_INVALID_ARGUMENT;
if (events == NULL || events_populated == NULL)
return TCS_ERROR_INVALID_ARGUMENT;
if (timeout_ms < 0 && timeout_ms != TCS_WAIT_INF)
return TCS_ERROR_INVALID_ARGUMENT;

// Todo: add more modern implementation. Maybe dispatch att init?
// SELECT IMPLEMENTATION
Expand Down
Loading