Skip to content

Commit

Permalink
Fix #70 fix code.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Sep 24, 2019
1 parent 15d9620 commit 4e98615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rr.c
Expand Up @@ -365,12 +365,12 @@ ldns_rr_new_frm_str_internal(ldns_rr **newrr, const char *str,
ldns_buffer_remaining(rd_buf) > 0){

/* skip spaces */
while (sldns_buffer_remaining(strbuf) > 0 &&
while (ldns_buffer_remaining(rd_buf) > 0 &&
*(ldns_buffer_current(rd_buf)) == ' ') {
ldns_buffer_skip(rd_buf, 1);
}

if (sldns_buffer_remaining(strbuf) > 0 &&
if (ldns_buffer_remaining(rd_buf) > 0 &&
*(ldns_buffer_current(rd_buf)) == '\"') {
delimiters = "\"\0";
ldns_buffer_skip(rd_buf, 1);
Expand Down

0 comments on commit 4e98615

Please sign in to comment.