- Timestamp:
- Nov 22, 2009, 4:01:24 PM (11 years ago)
- Location:
- neercs/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/client.c
r3996 r4001 140 140 if (!strncmp("DETACH", buf, 6)) 141 141 { 142 ret = 1;142 /* ret = 1; Not used */ 143 143 break; 144 144 } -
neercs/trunk/src/configuration.c
r4000 r4001 112 112 fclose(fp); 113 113 114 i = 0;115 116 114 /* Parse it */ 117 115 while ((i = … … 133 131 int parse_conf_line(char *buf, int size, struct screen_list *screen_list) 134 132 { 135 int i, s = 0, eol = 0,c = 0;133 int i, s = 0, c = 0; 136 134 char *line = NULL; 137 135 int l = 0; … … 157 155 if (buf[i] == ';' && !in_quote) 158 156 { 159 eol = i;160 157 break; 161 158 } 162 159 else if (buf[i] == '\n') 163 160 { 164 eol = i;165 161 break; 166 162 } … … 336 332 int i = 0; 337 333 struct option *option = screen_list->config; 338 char *section = NULL;339 334 340 335 while (option) … … 342 337 if (option->key == NULL) 343 338 { 344 section = option->key;345 339 option = option->next; 346 340 continue; -
neercs/trunk/src/grab.c
r3954 r4001 228 228 /* FIXME check value of r */ 229 229 int r = asprintf(&fds, "%s/fd/*", pglob.gl_pathv[i]); 230 (void) r; 230 231 glob(fds, GLOB_NOSORT, NULL, &pglob2); 231 232 free(fds); … … 243 244 /* FIXME check value of r */ 244 245 r = asprintf(&cmdfile, "%s/cmdline", pglob.gl_pathv[i]); 246 (void) r; 245 247 fd = open(cmdfile, O_RDONLY); 246 248 free(cmdfile); … … 249 251 /* FIXME check value of r */ 250 252 r = read(fd, path, sizeof(path)); 253 (void) r; 251 254 (*process_list)[n].cmdline = strdup(path); 252 255 close(fd); -
neercs/trunk/src/server.c
r3998 r4001 362 362 { 363 363 request_refresh(screen_list); 364 refresh = 0;365 364 screen_list->last_refresh_time = current_time; 366 365 }
Note: See TracChangeset
for help on using the changeset viewer.