Fix: problem in port assignment in uri_parse()
authorDavid Goulet <dgoulet@efficios.com>
Tue, 19 Jun 2012 14:49:01 +0000 (10:49 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 19 Jun 2012 14:49:01 +0000 (10:49 -0400)
commitb35d8a5714e1e4b989237d1d117fba3364c24299
tree41a77abe34546d2603da442d2df7ce9aa1d50f50
parentef599319218f03ff160778e577cd8389a165f47c
Fix: problem in port assignment in uri_parse()

The functions now puts 0 in the port field of the lttng_uri structure if
NO port are specified. It's now the caller's job to assign a default
port for that case.

Since the uri_parse() function does not know the URI context, a default
port can not be assigned correctly.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/uri.c
This page took 0.034604 seconds and 4 git commands to generate.