Changeset c2969f9
- Timestamp:
- 2015-10-08T04:58:59Z (9 years ago)
- Branches:
- master
- Children:
- df215a3
- Parents:
- 3cbf71d
- git-author:
- dequis <dx@…> (16-09-15 06:36:48)
- git-committer:
- dequis <dx@…> (08-10-15 04:58:59)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
conf.c
r3cbf71d rc2969f9 74 74 if (i == 0) { 75 75 fprintf(stderr, "Error: Syntax error in configuration file `%s'.\n", global.conf_file); 76 conf_free(conf); 76 77 return NULL; 77 78 } else if (i == -1) { … … 136 137 " -h Show this help page.\n" 137 138 " -V Show version info.\n"); 139 conf_free(conf); 138 140 return NULL; 139 141 } else if (opt == 'V') { 140 142 printf("BitlBee %s\nAPI version %06x\n", 141 143 BITLBEE_VERSION, BITLBEE_VERSION_CODE); 144 conf_free(conf); 142 145 return NULL; 143 146 } else if (opt == 'u') { … … 163 166 they're secure when in fact they're not. */ 164 167 fprintf(stderr, "Error: Could not read CA file %s: %s\n", conf->cafile, strerror(errno)); 168 conf_free(conf); 165 169 return NULL; 166 170 } -
help.c
r3cbf71d rc2969f9 146 146 if (lseek(h->fd, h->offset.file_offset, SEEK_SET) == -1 || 147 147 read(h->fd, s, h->length) != h->length) { 148 g_free(s); 148 149 return NULL; 149 150 }
Note: See TracChangeset
for help on using the changeset viewer.