include <strings.h>
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1531
94cd875c-1c1d-0410-91d2-
eb244daf1a30
#include <linux/capability.h>
#include <string.h>
+#include <strings.h>
#include <assert.h>
#ifndef CAP_QUOTACTL
inline static char const *
removePrefix(char const *str, size_t *len)
{
- if ((len==0 || *len==0 || *len>=4) &&
+ if ((len==0 || *len==0 || *len>4) &&
strncasecmp("cap_", str, 4)==0) {
- if (len && *len>=4) *len -= 4;
+ if (len && *len>4) *len -= 4;
return str+4;
}
else