Cannot specify a hostname for memcapable

Bug #1481057 reported by Tony Gregerson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
New
Undecided
Unassigned

Bug Description

It is not possible to specify a hostname for memcapable in version 1.0.18, making the tool unusable.

gregerson@my-instance:~$ memcapable
Failed to connect socket: Connection refused
Failed to connect to <(null):11211>: Connection refused

gregerson@my-instance:~$ memcapable -h 1.2.3.4
No hostname was provided.

Here is the fix:
On line 2153 of memcapable.cc

if (hostname)

should instead be:

if (!hostname)

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.