X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/394938c479925750ffe56c28d281945ba4003a14..ad30ce51bf609c35cd99a9ca46dd859b17d8164a:/photoid.c?ds=inline diff --git a/photoid.c b/photoid.c index 2debf01..dd28753 100644 --- a/photoid.c +++ b/photoid.c @@ -6,7 +6,6 @@ * Copyright 2004 Project Purple */ -#include #include #include #include @@ -37,9 +36,9 @@ int getphoto(struct openpgp_publickey *key, int index, unsigned char **photo, int i = 0; int j = 0; - assert(key != NULL); - assert(photo != NULL); - assert(length != NULL); + log_assert(key != NULL); + log_assert(photo != NULL); + log_assert(length != NULL); *photo = NULL;