summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-09-15 14:22:27 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-09-16 00:15:37 +0300
commit839ed051fc4fe62b9b2ce008898b538509769f88 (patch)
tree907c341b0428cdcfd9eef8ef3e49b0240613d74b
parentaa7df7b7379cc437515774d0ea91fb106aba5dc8 (diff)
downloadsamba-839ed051fc4fe62b9b2ce008898b538509769f88.tar.gz
samba-839ed051fc4fe62b9b2ce008898b538509769f88.tar.bz2
samba-839ed051fc4fe62b9b2ce008898b538509769f88.zip
s4-irpc: Add value for "infinite" timeout for IRPC calls
-rw-r--r--source4/lib/messaging/irpc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h
index 2a76461954..3c7edcc4dd 100644
--- a/source4/lib/messaging/irpc.h
+++ b/source4/lib/messaging/irpc.h
@@ -43,7 +43,9 @@ struct irpc_message {
};
/* don't allow calls to take too long */
-#define IRPC_CALL_TIMEOUT 10
+#define IRPC_CALL_TIMEOUT 10
+/* wait for the calls as long as it takes */
+#define IRPC_CALL_TIMEOUT_INF 0
/* the server function type */