X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol.c;h=24ba88b9c9741719a0c6b625eedec9c0a7a73bac;hb=636200d1a2024982fe5b3062153daa72a8253015;hp=cae3a0fe93f218d19915e4a6ac0dd75b1588dbdd;hpb=a9bdfb424e7a469d15156aa44bbe2fd0b8e28531;p=meshlink diff --git a/src/protocol.c b/src/protocol.c index cae3a0fe..24ba88b9 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -196,7 +196,7 @@ bool seen_request(char *request) { ifdebug(SCARY_THINGS) logger(LOG_DEBUG, _("Already seen request")); return true; } else { - new = xmalloc(sizeof(*new)); + new = xmalloc(sizeof *new); new->request = xstrdup(request); new->firstseen = time(NULL); splay_insert(past_request_tree, new);