/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
char *nmem_strdupn(NMEM mem, const char *src, size_t n)
{
char *dst = (char *) nmem_malloc(mem, n+1);
- memcpy (dst, src, n);
+ memcpy(dst, src, n);
dst[n] = '\0';
return dst;
}