瀏覽代碼

Expose the MAX_CMD_LEN parameter

Zachary Kotlarek 13 年之前
父節點
當前提交
cfc1ece06d
共有 1 個文件被更改,包括 5 次插入 和 0 次删除
  1. 5 0
      dmx/DMX.pm

+ 5 - 0
dmx/DMX.pm

@@ -42,6 +42,11 @@ sub dataDir() {
 	return $DATA_DIR;
 }
 
+# Maximum command length
+sub maxCmdLen() {
+	return $MAX_CMD_LEN;
+}
+
 # Generic client socket
 sub clientSock($) {
 	my ($path) = @_;