tcputil.c: One more bug with '\0' -> NULL.

This commit is contained in:
Timur Bakeyev 1999-02-01 01:02:44 +00:00
parent 0c3b1bafe5
commit 3bc60d00b2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
* tcputil.c: One more my bug with '\0' -> NULL. Oops..
Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
* mcserv.c: If setuid() is avaliable, use it, even, streuid() also

View File

@ -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: