Skip to content

Commit 5761512

Browse files
author
Hasnain Virk
committed
Addding backlog parameter to socket_listen
* As part of patch-2 for socket API update, we need to add 2nd parameter of socket_listen() API.
1 parent c8d66be commit 5761512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/coap-service/unittest/stub/socket_api_stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int8_t socket_free(int8_t socket)
3333

3434
return socket_api_stub.int8_value;
3535
}
36-
int8_t socket_listen(int8_t socket)
36+
int8_t socket_listen(int8_t socket, uint8_t backlog)
3737
{
3838
if( socket_api_stub.counter >= 0){
3939
return socket_api_stub.values[socket_api_stub.counter--];

0 commit comments

Comments
 (0)