diff --git a/vfs/ChangeLog b/vfs/ChangeLog index f896b7dc0..bc94f230f 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,7 @@ +Mon Feb 1 02:55:07 1999 Timur I. Bakeyev + + * tcputil.c: One more my bug with '\0' -> NULL. Oops.. + Mon Feb 1 01:45:08 1999 Timur I. Bakeyev * mcserv.c: If setuid() is avaliable, use it, even, streuid() also diff --git a/vfs/tcputil.c b/vfs/tcputil.c index e744c9676..80ad8c503 100644 --- a/vfs/tcputil.c +++ b/vfs/tcputil.c @@ -212,7 +212,7 @@ int rpc_get (int sock, ...) return 0; str_dest = va_arg (ap, char **); *str_dest = text; - text [len] = NULL; + text [len] = '\0'; break; case RPC_BLOCK: