about summary refs log tree commit diff stats
path: root/src/xmpp/ox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/ox.c')
-rw-r--r--src/xmpp/ox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/ox.c b/src/xmpp/ox.c
index 195cdedd..b8a0a41e 100644
--- a/src/xmpp/ox.c
+++ b/src/xmpp/ox.c
@@ -123,7 +123,7 @@ ox_announce_public_key(const char* const filename)
 
         xmpp_stanza_t* item = xmpp_stanza_new(ctx);
         xmpp_stanza_set_name(item, STANZA_NAME_ITEM);
-        char *timestamp = _gettimestamp();
+        char* timestamp = _gettimestamp();
         xmpp_stanza_set_attribute(item, STANZA_ATTR_ID, timestamp);
         free(timestamp);
 
@@ -305,7 +305,7 @@ _ox_metadata_result(xmpp_conn_t* const conn, xmpp_stanza_t* const stanza, void*
 
     while (pubkeymetadata) {
         const char* fingerprint = xmpp_stanza_get_attribute(pubkeymetadata, STANZA_ATTR_V4_FINGERPRINT);
-        if ( strlen( fingerprint ) == KEYID_LENGTH ) {
+        if (strlen(fingerprint) == KEYID_LENGTH) {
             cons_show(fingerprint);
         } else {
             cons_show("OX: Wrong char size of public key");