diff --git a/assuan/ChangeLog b/assuan/ChangeLog index d74fa030..61563b0f 100644 --- a/assuan/ChangeLog +++ b/assuan/ChangeLog @@ -1,9 +1,14 @@ -2001-12-13 Marcus Brinkmann +2001-12-14 Marcus Brinkmann + + * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. + assuan.h: Define ASSUAN_LINELENGTH. + +2001-12-13 Marcus Brinkmann * assuan-connect.c (assuan_pipe_connect): Remove code that closes all the little file descriptors we set up. -2001-12-13 Marcus Brinkmann +2001-12-13 Marcus Brinkmann * assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values. diff --git a/assuan/assuan-defs.h b/assuan/assuan-defs.h index e0a38a8f..ecabd382 100644 --- a/assuan/assuan-defs.h +++ b/assuan/assuan-defs.h @@ -24,7 +24,7 @@ #include #include "assuan.h" -#define LINELENGTH 1002 /* 1000 + [CR,]LF */ +#define LINELENGTH ASSUAN_LINELENGTH struct cmdtbl_s { const char *name; diff --git a/assuan/assuan.h b/assuan/assuan.h index f97493dc..485ad222 100644 --- a/assuan/assuan.h +++ b/assuan/assuan.h @@ -101,6 +101,7 @@ typedef enum { ASSUAN_CMD_USER = 256 /* Other commands should be used with this offset*/ } AssuanCommand; +#define ASSUAN_LINELENGTH 1002 /* 1000 + [CR,]LF */ struct assuan_context_s; typedef struct assuan_context_s *ASSUAN_CONTEXT;