- Timestamp:
- 03/17/06 15:05:29 (16 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 2ffda28
- Parents:
- ed636fb4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
r752709f reea0f87 121 121 #define MAXOPTS 1024 122 122 123 124 struct trace_err_t trace_err;125 123 126 124 static struct libtrace_format_t *formats_list = 0; … … 280 278 struct libtrace_format_t *tmp; 281 279 282 trace_err.err_num = TRACE_ERR_NOERROR;280 libtrace->err.err_num = TRACE_ERR_NOERROR; 283 281 libtrace->format=NULL; 284 282 … … 355 353 struct libtrace_format_t *tmp; 356 354 357 trace_err.err_num = TRACE_ERR_NOERROR;355 libtrace->err.err_num = TRACE_ERR_NOERROR; 358 356 359 357 if((uridata = strchr(uri,':')) == NULL) { … … 402 400 struct libtrace_format_t *tmp; 403 401 404 trace_err.err_num = TRACE_ERR_NOERROR; 402 libtrace->err.err_num = TRACE_ERR_NOERROR; 403 strcat(libtrace->err.problem,"Error message set\n"); 404 405 405 /* parse the URI to determine what sort of event we are dealing with */ 406 406 … … 410 410 return libtrace; 411 411 } 412 413 412 414 413 libtrace->format = NULL;
Note: See TracChangeset
for help on using the changeset viewer.