diff --git a/mongoose.h b/mongoose.h index 0d9239558bb1198b2b3ab3ff5ec48fd572df1fcb..553d8833013d089a95121fe7f5da8da162505993 100644 --- a/mongoose.h +++ b/mongoose.h @@ -129,8 +129,8 @@ struct mg_callbacks { void (*thread_start)(void *user_data, void **conn_data); // Called when mongoose's thread is about to terminate. - // Same as thread_setup() callback, but called when thread is about to be - // destroyed. Used to cleanup the state initialized by thread_setup(). + // Same as thread_start() callback, but called when thread is about to be + // destroyed. Used to cleanup the state initialized by thread_start(). // Parameters: see thread_start(). void (*thread_stop)(void *user_data, void **conn_data); };