Let a server explicitly send a notification when the invitation protocol succeeded.

This commit is contained in:
Guus Sliepen 2013-08-20 22:36:31 +02:00
parent c798f73093
commit 5dec1c2571
2 changed files with 8 additions and 4 deletions

View file

@ -174,6 +174,7 @@ static bool finalize_invitation(connection_t *c, const char *data, uint16_t len)
fclose(f);
logger(DEBUG_CONNECTIONS, LOG_INFO, "Key succesfully received from %s (%s)", c->name, c->hostname);
sptps_send_record(&c->sptps, 2, data, 0);
return true;
}