From bcfd808942581cdbe91c5df0f850f77a5791e298 Mon Sep 17 00:00:00 2001
From: Benjamin Renard <benjamin.renard@akka.eu>
Date: Wed, 26 Jan 2022 14:57:55 +0100
Subject: [PATCH] Change USERCASHLEN to 300

---
 src/DDClientLibC/INCLUDE/DD_Access.h    | 2 +-
 src/DDClientLibCpp/INCLUDE/DD_Access.hh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/DDClientLibC/INCLUDE/DD_Access.h b/src/DDClientLibC/INCLUDE/DD_Access.h
index a1d3b10..5cb0398 100755
--- a/src/DDClientLibC/INCLUDE/DD_Access.h
+++ b/src/DDClientLibC/INCLUDE/DD_Access.h
@@ -11,7 +11,7 @@
 #define USRLENGTH       21      /*  Length of UserName:  + \0  */
 #define TICKETLENGTH    9    /*  Length of passwd: 8 + \0  */
 #define HOSTNAMELENGTH  120 /* Length of the user host name */
-#define USERCASHLEN     100  /*  Size of user_ticket.nc file must be 300  */
+#define USERCASHLEN     300  /*  Size of user_ticket.nc file must be 300  */
 #define NONAME          "no_name\0" /* Name of user in case of non-WEB connection */
 #define ACCINSTR        "iball:acc:all"    /* Instrument which watch the  access */
 #define TICKET_PATH     "/ACC/user_ticket.nc"
diff --git a/src/DDClientLibCpp/INCLUDE/DD_Access.hh b/src/DDClientLibCpp/INCLUDE/DD_Access.hh
index a1d3b10..5cb0398 100644
--- a/src/DDClientLibCpp/INCLUDE/DD_Access.hh
+++ b/src/DDClientLibCpp/INCLUDE/DD_Access.hh
@@ -11,7 +11,7 @@
 #define USRLENGTH       21      /*  Length of UserName:  + \0  */
 #define TICKETLENGTH    9    /*  Length of passwd: 8 + \0  */
 #define HOSTNAMELENGTH  120 /* Length of the user host name */
-#define USERCASHLEN     100  /*  Size of user_ticket.nc file must be 300  */
+#define USERCASHLEN     300  /*  Size of user_ticket.nc file must be 300  */
 #define NONAME          "no_name\0" /* Name of user in case of non-WEB connection */
 #define ACCINSTR        "iball:acc:all"    /* Instrument which watch the  access */
 #define TICKET_PATH     "/ACC/user_ticket.nc"
--
libgit2 0.21.2