Changeset 285:0daf6fc2b751 in freeDiameter for freeDiameter/tests/tests.h
- Timestamp:
- Apr 30, 2010, 5:55:16 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/tests/tests.h
r258 r285 125 125 int c; 126 126 int no_timeout = 0; 127 while ((c = getopt (argc, argv, "dqn ")) != -1) {127 while ((c = getopt (argc, argv, "dqnf:")) != -1) { 128 128 switch (c) { 129 129 case 'd': /* Increase verbosity of debug messages. */ … … 139 139 break; 140 140 141 case 'f': /* Full debug for the function with this name. */ 142 #ifdef DEBUG 143 fd_debug_one_function = optarg; 144 #else /* DEBUG */ 145 TRACE_DEBUG(INFO, "Error: must compile with DEBUG support to use this feature"); 146 return EINVAL; 147 #endif /* DEBUG */ 148 break; 149 141 150 default: /* bug: option not considered. */ 142 151 return;
Note: See TracChangeset
for help on using the changeset viewer.