[Libreoffice-commits] online.git: configure.ac
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Mon Jan 30 02:05:52 UTC 2017
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 78fdcb903af7aaf75d57f22fba9059dfa46cad45
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sat Jan 28 19:14:57 2017 -0500
wsd: correct configuring MAX_DOCUMENTS
Change-Id: I14ffd990cdfb0206d93de01f42fc99efda4e6e8f
Reviewed-on: https://gerrit.libreoffice.org/33671
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/configure.ac b/configure.ac
index b029d53..f65b8e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,7 +146,7 @@ AC_DEFINE_UNQUOTED([MAX_CONNECTIONS],[$MAX_CONNECTIONS],[Limit the maximum numbe
AC_SUBST(MAX_CONNECTIONS)
MAX_DOCUMENTS=10
-AS_IF([test -n "$with_max_documents" -a "$with_max_documents" -gt "0" -a "$with_max_documents" -lt "$MAX_CONNECTIONS"],
+AS_IF([test -n "$with_max_documents" -a "$with_max_documents" -gt "0"],
[MAX_DOCUMENTS="$with_max_documents"])
AS_IF([test "$MAX_DOCUMENTS" -gt "$MAX_CONNECTIONS"],
[MAX_DOCUMENTS="$MAX_CONNECTIONS"])
More information about the Libreoffice-commits
mailing list