Remove extraneous trailing \0 in string literal.

MFC after:	2 weeks
This commit is contained in:
Thomas Quinot 2006-08-11 23:03:16 +00:00
parent 79ad81c06d
commit bc1f62de8d

View File

@ -2026,8 +2026,7 @@ monitor_lock_host(const char *hostname)
bzero(&smon,sizeof(smon));
smon.mon_id.mon_name = nhp->name;
smon.mon_id.my_id.my_name = "localhost\0";
smon.mon_id.my_id.my_name = "localhost";
smon.mon_id.my_id.my_prog = NLM_PROG;
smon.mon_id.my_id.my_vers = NLM_SM;
smon.mon_id.my_id.my_proc = NLM_SM_NOTIFY;