parent
db6f9968fe
commit
74c5568d15
|
@ -159,6 +159,12 @@ lease_file6_add(const char * rem_client,
|
|||
if (timestamp != 0) {
|
||||
timestamp -= upnp_time();
|
||||
}
|
||||
if (rem_client == NULL) {
|
||||
rem_client = "";
|
||||
}
|
||||
if (desc == NULL) {
|
||||
desc = "";
|
||||
}
|
||||
|
||||
fprintf(fd, "%s;%s;%hu;%s;%hu;%u;%u;%s\n",
|
||||
proto_itoa(proto), int_client, int_port, rem_client, rem_port,
|
||||
|
|
Loading…
Reference in New Issue