[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639567#action_12639567
 ] 

Patrick Hunt commented on ZOOKEEPER-182:
----------------------------------------

No worries. Looked like you were ready but we have that extra step in case ppl 
want to have review of preliminary/draft work before actually ready for commit. 
Also makes it easier for us committers to know what patches are pending.

Thanks for the submission(s)!

> zookeeper_init accepts empty host-port string and returns valid pointer to 
> zhandle_t.
> -------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-182
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-182
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>         Environment: Linux
>            Reporter: Maxim P. Dementiev
>            Assignee: Maxim P. Dementiev
>         Attachments: ZOOKEEPER-182-UnitTests-Init-AddressString.patch, 
> ZOOKEEPER-182.patch
>
>
> Please, add this test to src/c/tests/TestZookeeperInit.cc to reproduce this:
>     void testEmptyAddressString()
>     {
>         zh=zookeeper_init("",0,0,0,0,0);
>         CPPUNIT_ASSERT(zh==0);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to