Changeset 2466
- Timestamp:
- Jun 20, 2008, 2:51:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/main.c
r2464 r2466 140 140 if(!read_configuration_file("~/neercs.ini", screen_list)) 141 141 { 142 143 144 145 142 if(!read_configuration_file("/etc/neercs.ini", screen_list)) 143 { 144 printf("Failed to read configuration file\n"); 145 } 146 146 } 147 147 } … … 160 160 int option_index = 0; 161 161 static struct myoption long_options[] = 162 {162 { 163 163 #if defined USE_GRAB 164 { "pid", 1, NULL, 'P' },164 { "pid", 1, NULL, 'P' }, 165 165 #endif 166 { "help", 0, NULL, 'h' },167 { "version", 0, NULL, 'v' },168 };166 { "help", 0, NULL, 'h' }, 167 { "version", 0, NULL, 'v' }, 168 }; 169 169 #if defined USE_GRAB 170 170 int c = mygetopt(argc, argv, "P:hv", long_options, &option_index); … … 404 404 } 405 405 } 406 /* Delete recurrent functions */406 /* Delete recurrent functions */ 407 407 for(i=0; i<recurrent_list->count; i++) 408 408 {
Note: See TracChangeset
for help on using the changeset viewer.