comparison freeDiameterd/main.c @ 1088:1d1a20a0779d

Second part of changeset 1083, now the code compiles again. Still missing some functions implementation, though
author Sebastien Decugis <sdecugis@freediameter.net>
date Sat, 04 May 2013 21:25:27 +0200
parents 758b21ae6c3e
children 51ce5a30df2d
comparison
equal deleted inserted replaced
1087:1c5d410788cc 1088:1d1a20a0779d
207 return EINVAL; 207 return EINVAL;
208 } 208 }
209 break; 209 break;
210 210
211 case 'd': /* Increase verbosity of debug messages. */ 211 case 'd': /* Increase verbosity of debug messages. */
212 fd_g_debug_lvl++; 212 fd_g_debug_lvl--;
213 break; 213 break;
214 214
215 case 'f': /* Full debug for the function with this name. */ 215 case 'f': /* Full debug for the function with this name. */
216 #ifdef DEBUG 216 #ifdef DEBUG
217 fd_debug_one_function = optarg; 217 fd_debug_one_function = optarg;
233 case 'g': /* Set a debug level and function for GNU TLS calls. */ 233 case 'g': /* Set a debug level and function for GNU TLS calls. */
234 gnutls_debug = (int)atoi(optarg); 234 gnutls_debug = (int)atoi(optarg);
235 break; 235 break;
236 236
237 case 'q': /* Decrease verbosity then remove debug messages. */ 237 case 'q': /* Decrease verbosity then remove debug messages. */
238 fd_g_debug_lvl--; 238 fd_g_debug_lvl++;
239 break; 239 break;
240 240
241 case '?': /* Invalid option. */ 241 case '?': /* Invalid option. */
242 /* `getopt_long' already printed an error message. */ 242 /* `getopt_long' already printed an error message. */
243 fprintf(stderr, "getopt_long found an invalid character\n"); 243 fprintf(stderr, "getopt_long found an invalid character\n");
"Welcome to our mercurial repository"