antirez / sds

Simple Dynamic Strings library for C
BSD 2-Clause "Simplified" License
4.89k stars 473 forks source link

sds.c typo: nul -> null. #83

Closed charpty closed 6 years ago

charpty commented 7 years ago

Signed-off-by: Bo Cai charpty@gmail.com

kloetzl commented 6 years ago

The character '\0' is called NUL. See man ascii. NULL is a pointer. It is a quirks of the C language that they can be used interchangeably.

charpty commented 6 years ago

@kloetzl So it is, thanks.