summaryrefslogtreecommitdiff
path: root/rb_str.h
diff options
context:
space:
mode:
Diffstat (limited to 'rb_str.h')
-rw-r--r--rb_str.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rb_str.h b/rb_str.h
index f48d685..bbfef5e 100644
--- a/rb_str.h
+++ b/rb_str.h
@@ -26,7 +26,7 @@ char *rb_gets(t_rb *rb, const char *delim);
* the longest will be discarded
*
* common use case:
- * request = rb_gets(rb, (const char *[]){"\n", "\r", "\r\n"})
+ * request = rb_gets(rb, (const char *[]){"\n", "\r", "\r\n", NULL})
* which will return a request disregarding whether netcat or telnet is used
*/
char *rb_gets2(t_rb *rb, const char *const *delim);