瀏覽代碼

Format code after merge

bel2125 2 年之前
父節點
當前提交
5d2faa5548
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/civetweb.c

+ 2 - 2
src/civetweb.c

@@ -12825,8 +12825,8 @@ dav_lock_file(struct mg_connection *conn, const char *path)
 	    (uint64_t)(LOCK_DURATION_S) * (uint64_t)1000000000;
 	struct twebdav_lock *dav_lock = NULL;
 
-	if (!path || !conn
-		|| !conn->dom_ctx || !conn->request_info.remote_user || !conn->phys_ctx) {
+	if (!path || !conn || !conn->dom_ctx || !conn->request_info.remote_user
+	    || !conn->phys_ctx) {
 		return;
 	}