diff --git a/lib/roken/strsep_copy.c b/lib/roken/strsep_copy.c index 0c7a7b409..df09f9cdc 100644 --- a/lib/roken/strsep_copy.c +++ b/lib/roken/strsep_copy.c @@ -52,7 +52,7 @@ strsep_copy(const char **stringp, const char *delim, char *buf, size_t len) if(save == NULL) return -1; *stringp = *stringp + strcspn(*stringp, delim); - l = MIN(len, *stringp - save); + l = min(len, *stringp - save); memcpy(buf, save, l); buf[l] = '\0';