mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
tcputil.c: One more bug with '\0' -> NULL.
This commit is contained in:
parent
0c3b1bafe5
commit
3bc60d00b2
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user