From: Dan Langille Date: Tue, 23 Dec 2003 13:38:13 +0000 (+0000) Subject: whitespace changes X-Git-Tag: Release-1.34.0~219 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a4d5fb808066b0c6e3933b295967484cad16c218;p=bacula%2Fbacula whitespace changes remove incorrect comment git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@940 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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 */