From 49a27fac20f757c158e5faa18a41337c5f33b17b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 11 Jan 2018 11:26:07 +0100 Subject: Remove some legacy code --- src/sp_utils.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/sp_utils.h') diff --git a/src/sp_utils.h b/src/sp_utils.h index a7b672f..ada7cf6 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h @@ -17,17 +17,6 @@ #define sp_const #endif #endif -/* The dump filename are of the form - * `sp_dump_DATE_IPADDR.dump`, with: - * - DATE being the output of asctime, 26 chars long - * - IP_ADDR being an IP adress, with a maximum size of 15 - * - * We keep one char for the terminal \0, and one for the leading slash. - */ - -#define MAX_FOLDER_LEN \ - PATH_MAX - 1 - sizeof("sp_dump_") - 26 - sizeof("_") - 15 - \ - sizeof(".dump") - 1 #define VAR_AND_LEN(var) var, strlen(var) -- cgit v1.3