Removed erroneous precondition `exists', since we can call slist_append with null pointer to get an initialized pointer.
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77774 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
@@ -67,8 +67,8 @@ feature -- Command
|
|||||||
|
|
||||||
slist_append (a_list: POINTER; a_string: STRING_GENERAL): POINTER
|
slist_append (a_list: POINTER; a_string: STRING_GENERAL): POINTER
|
||||||
-- Declared as curl_slist_append ().
|
-- Declared as curl_slist_append ().
|
||||||
|
-- note: call with a null `a_list' to get initialized pointer as Result
|
||||||
require
|
require
|
||||||
exists: a_list /= default_pointer
|
|
||||||
not_void: a_string /= Void
|
not_void: a_string /= Void
|
||||||
local
|
local
|
||||||
l_c_string: C_STRING
|
l_c_string: C_STRING
|
||||||
|
|||||||
Reference in New Issue
Block a user