ソースを参照

added comment in mongoose_callback

Sergey Lyubka 12 年 前
コミット
d9ab7af8b4
1 ファイル変更2 行追加0 行削除
  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;
 }