diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/database.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c index 4919dc3d..dc1a4fc5 100644 --- a/src/database.c +++ b/src/database.c @@ -161,8 +161,7 @@ log_database_add_incoming(ProfMessage* message) if (message->to_jid) { _add_to_db(message, NULL, message->from_jid, message->to_jid); } else { - const char* jid = connection_get_fulljid(); - Jid* myjid = jid_create(jid); + Jid* myjid = jid_create(connection_get_fulljid()); _add_to_db(message, NULL, message->from_jid, myjid); |