openbsd-ports/net/radiusd-lucent/patches/patch-radius_src_dbmkeys_c

13 lines
468 B
Plaintext

$OpenBSD: patch-radius_src_dbmkeys_c,v 1.1 2004/05/11 13:46:20 naddy Exp $
--- radius/src/dbmkeys.c.orig 2004-05-08 18:14:08.000000000 +0200
+++ radius/src/dbmkeys.c 2004-05-08 18:14:27.000000000 +0200
@@ -105,7 +105,7 @@ char * argv[];
break;
}
else {
- key.dptr[key.dsize] = 0;
+ ((char *)key.dptr)[key.dsize] = 0;
printf(" %4d key <%s>\n", i, key.dptr);
}
}