Bug 2496 - tlclient does not distinguish between non-existing and empty argument
Summary: tlclient does not distinguish between non-existing and empty argument
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: 1.6.0
Hardware: PC Linux
: P2 Enhancement
Target Milestone: LowPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-04 12:42 CEST by Peter Åstrand
Modified: 2017-01-10 11:37 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2007-07-04 12:42:12 CEST
Assume that you have a tlclient.conf with SERVER_NAME=foobar. Now, if you call tlclient "", I think most users expect that tlclient will be started with an empty server name field. But this is not the case. Internally, tlclient treats non-existing arguments the same as "". Specifically, CommandLine::GetRest returns "" if you ask for non-existing arguments.

Note You need to log in before you can comment on or make changes to this bug.