Skip to content

Commit 7a378c5

Browse files
authored
Merge pull request #1336 from ruby/remove-nul-byte
Remove unnecessary NUL byte in string
2 parents 59e3e29 + af867e3 commit 7a378c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/src/node.c.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ yp_node_type_to_str(yp_node_type_t node_type)
168168
return "<%= node.type %>";
169169
<%- end -%>
170170
}
171-
return "\0";
171+
return "";
172172
}

0 commit comments

Comments
 (0)