aboutsummaryrefslogtreecommitdiff
path: root/buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'buf.c')
-rw-r--r--buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buf.c b/buf.c
index b76fa0b..a485708 100644
--- a/buf.c
+++ b/buf.c
@@ -89,7 +89,7 @@ void insstrbuf(buf* buffer, char* str){
}
}
-char* strpeekbuf(buf* buffer, size_t loc, size_t len){
+char* peekstrbuf(buf* buffer, size_t loc, size_t len){
char* str = malloc(sizeof(char)*(len+1)); str[len] = 0;
buf_node* start;