Browse Source

added comment in mongoose_callback

Sergey Lyubka 12 năm trước cách đây
mục cha
commit
d9ab7af8b4
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      main.c

+ 2 - 0
main.c

@@ -222,6 +222,8 @@ static void *mongoose_callback(enum mg_event ev, struct mg_connection *conn) {
     printf("%s\n", mg_get_log_message(conn));
   }
 
+  // Returning NULL marks request as not handled, signalling mongoose to
+  // proceed with handling it.
   return NULL;
 }