git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1318 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-03-08 11:08:58 +00:00
parent b3416f41ae
commit aa0c1fc1c0
35 changed files with 83 additions and 30 deletions

View File

@@ -67,7 +67,7 @@ mem_seek(krb5_storage *sp, off_t offset, int whence)
SEEK_SET);
break;
case SEEK_END:
sp->seek(sp, (char *)(MEM(sp)->len) + offset, SEEK_SET);
sp->seek(sp, MEM(sp)->len + offset, SEEK_SET);
default:
errno = EINVAL;
return -1;