From ffd9683756515cc4da9feb69c59406e28beda5b4 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Tue, 23 Dec 2003 13:38:13 +0000 Subject: [PATCH] whitespace changes remove incorrect comment git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@940 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/cats.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/bacula/src/cats/cats.h b/bacula/src/cats/cats.h index 45311dab61..5d856ce72d 100644 --- a/bacula/src/cats/cats.h +++ b/bacula/src/cats/cats.h @@ -215,14 +215,14 @@ typedef struct s_db { #include /* TEMP: the following is taken from select OID, typname from pg_type; */ -#define IS_NUM(x) ((x) == 20 || (x) == 21 || (x) == 23 || (x) == 700 || (x) == 701 ) +#define IS_NUM(x) ((x) == 20 || (x) == 21 || (x) == 23 || (x) == 700 || (x) == 701) #define IS_NOT_NULL(x) ((x) == 1) typedef char **POSTGRESQL_ROW; typedef struct pg_field { char *name; int max_length; - unsigned int type; // 1 = number + unsigned int type; unsigned int flags; // 1 == not null } POSTGRESQL_FIELD; @@ -251,21 +251,21 @@ typedef struct s_db { char *db_user; char *db_password; char *db_address; /* host address */ - char *db_socket; /* socket for local access */ - int db_port; /* port of host address */ + char *db_socket; /* socket for local access */ + int db_port; /* port of host address */ int have_insert_id; /* do have insert_id() */ int connected; - POOLMEM *errmsg; /* nicely edited error message */ - POOLMEM *cmd; /* SQL command string */ + POOLMEM *errmsg; /* nicely edited error message */ + POOLMEM *cmd; /* SQL command string */ POOLMEM *cached_path; int cached_path_len; /* length of cached path */ uint32_t cached_path_id; - int changes; /* changes made to db */ - POOLMEM *fname; /* Filename only */ - POOLMEM *path; /* Path only */ + int changes; /* changes made to db */ + POOLMEM *fname; /* Filename only */ + POOLMEM *path; /* Path only */ POOLMEM *esc_name; /* Escaped file/path name */ - int fnl; /* file name length */ - int pnl; /* path name length */ + int fnl; /* file name length */ + int pnl; /* path name length */ } B_DB; void my_postgresql_free_result(B_DB *mdb); @@ -534,9 +534,9 @@ struct MEDIA_DBR { /* Since the database returns times as strings, this is how we pass * them back. */ - char cFirstWritten[MAX_TIME_LENGTH]; /* FirstWritten returned from DB */ + char cFirstWritten[MAX_TIME_LENGTH]; /* FirstWritten returned from DB */ char cLastWritten[MAX_TIME_LENGTH]; /* LastWritten returned from DB */ - char cLabelData[MAX_TIME_LENGTH]; /* LabelData returned from DB */ + char cLabelData[MAX_TIME_LENGTH]; /* LabelData returned from DB */ }; /* Client record -- same as the database */ -- 2.39.5