replace MIN by min

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8480 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-06-29 03:13:36 +00:00
parent 3e01f1079f
commit 0481b7a38f

View File

@@ -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';