瀏覽代碼

Set TODO mark to rewrite mg_upload (#180)

bel 10 年之前
父節點
當前提交
b21b3b6661
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -7695,6 +7695,7 @@ static uint32_t get_remote_ip(const struct mg_connection *conn)
 
 
 int mg_upload(struct mg_connection *conn, const char *destination_dir)
 int mg_upload(struct mg_connection *conn, const char *destination_dir)
 {
 {
+    /* TODO (high): completely rewrite this function. See issue #180. */
 	/* TODO (mid): set a timeout */
 	/* TODO (mid): set a timeout */
 	const char *content_type_header, *boundary_start, *sc;
 	const char *content_type_header, *boundary_start, *sc;
 	char *s;
 	char *s;