summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorPhong Tran <tranmanphong@gmail.com>2019-04-17 22:58:40 +0700
committerJosé Bollo <jose.bollo@iot.bzh>2019-04-23 09:06:33 +0000
commit13457f6458e1f604e437ce7a9a680c8703078fbf (patch)
treec4bcd2199251db1785fedb4430bfae1c9edf165b /bindings
parent78fcce21a8b611de175223bff67f4a49fa95e64e (diff)
samples: wrong parameter for get_new_board()
for fixing warning: too many arguments in call to 'get_new_board' Change-Id: I7b3d175310156ea3d2efed29e344f01c9904d534 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/samples/tic-tac-toe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/samples/tic-tac-toe.c b/bindings/samples/tic-tac-toe.c
index f8bf6219..2cac6f63 100644
--- a/bindings/samples/tic-tac-toe.c
+++ b/bindings/samples/tic-tac-toe.c
@@ -470,7 +470,7 @@ static void join(afb_req_t req)
/* none is a special id for joining a new session */
if (strcmp(id, "none") == 0) {
- new_board = get_new_board(req);
+ new_board = get_new_board();
goto setctx;
}