Merge pull request #201 from jelu/h-type-fix

Use type and not struct
This commit is contained in:
wtoorop 2016-07-18 15:02:50 +02:00 committed by GitHub
commit b4a6fe0499
2 changed files with 3 additions and 3 deletions

View File

@ -399,11 +399,11 @@ const char *getdns_get_errorstr_by_id(uint16_t err);
/* dict util */
/* set a string as bindata */
getdns_return_t getdns_dict_util_set_string(struct getdns_dict * dict,
getdns_return_t getdns_dict_util_set_string(getdns_dict * dict,
char *name, const char *value);
/* get a string from a dict. the result must be freed if valid */
getdns_return_t getdns_dict_util_get_string(struct getdns_dict * dict,
getdns_return_t getdns_dict_util_get_string(getdns_dict * dict,
char *name, char **result);
/**

View File

@ -54,7 +54,7 @@
getdns_return_t
getdns_dict_util_get_string(struct getdns_dict * dict, char *name, char **result)
getdns_dict_util_get_string(getdns_dict * dict, char *name, char **result)
{
struct getdns_bindata *bindata = NULL;
if (!result) {