Skip to content

Commit

Permalink
pi_http: fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Jul 13, 2014
1 parent aa6f647 commit 965baa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pi_http/http_fnc.c
Expand Up @@ -899,7 +899,7 @@ int ph_getColVals(ph_mod_t *module, ph_cmd_t *cmd,
if(vals==NULL||ids==NULL) {LM_ERR("oom\n"); return -1;}
col_vals = vals; col_ids = ids;
vals = &col_vals[size]; ids = &col_ids[size];
memset(vals, 0, sizeof(str*)); memset(ids, 0, sizeof(str*));
memset(vals, 0, sizeof *vals); memset(ids, 0, sizeof *ids);
/* Retrieve the node attribute */
attr.s = ph_xmlNodeGetAttrContentByName(node,
PI_HTTP_XML_ID_ATTR);
Expand Down

0 comments on commit 965baa2

Please sign in to comment.