client name ignored (patch)

Bug #739328 reported by danmb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lashwrap (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: lashwrap

lash_wrap uses a deprecated API to set the lash client name. That API call no longer works (lashd ignores it). Thus, annoyingly, all lash_wrap'ed applications show up with the same client name "lashwrap"

The fix is very simple: pass lash_init the lash_client_name (which can be set on lash_wrap's command line) instead of "lash_wrap". This is what the example simple_client from lash itself does.

- lash_client = lash_init (lash_args, "lash_wrap", 0, LASH_PROTOCOL (2,0));
+ lash_client = lash_init (lash_args, lash_client_name.c_str(), 0, LASH_PROTOCOL (2,0));

Tags: patch

Related branches

Revision history for this message
danmb (danmbox) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lashwrap - 1.0.2-0ubuntu6

---------------
lashwrap (1.0.2-0ubuntu6) natty; urgency=low

  * main.cc: pass lash_init the lash_client_name instead of "lash_wrap".
    (LP: #739328)
 -- Dan Muresan <email address hidden> Thu, 07 Apr 2011 15:10:14 +0200

Changed in lashwrap (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.