action() works. Will finish DNS tomorrow.
This commit is contained in:
parent
e2af24fe80
commit
f921ece53f
3 changed files with 33 additions and 13 deletions
|
|
@ -94,6 +94,10 @@ static inline void append_buf_c(struct result_buf *buf, char v) {
|
|||
static void unamb_sub(const parsed_token_t* tok, struct result_buf *buf) {
|
||||
char* tmpbuf;
|
||||
int len;
|
||||
if (!tok) {
|
||||
append_buf(buf, "NULL", 4);
|
||||
return;
|
||||
}
|
||||
switch (tok->token_type) {
|
||||
case TT_NONE:
|
||||
append_buf(buf, "null", 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue