diff options
Diffstat (limited to 'chat_acceptor.h')
-rw-r--r-- | chat_acceptor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chat_acceptor.h b/chat_acceptor.h index cb42d75..a67374b 100644 --- a/chat_acceptor.h +++ b/chat_acceptor.h @@ -74,6 +74,9 @@ void *chat_acceptor(void *arg) { printf("\n*** CHAT REQUEST *** \n"); printf("Accept [y/n]? "); fflush(stdout); + + // update the request time + time(&chat_requested_time); respond_to_chat_request = 1; } |