X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/b3e534f945ae56605bc5309e7c5af020c797a69b..e1385087ec060568a966a5305a9d88c24a2a0a55:/photoid.c?ds=sidebyside diff --git a/photoid.c b/photoid.c index 8da62ce..dd28753 100644 --- a/photoid.c +++ b/photoid.c @@ -4,11 +4,8 @@ * Jonathan McDowell * * Copyright 2004 Project Purple - * - * $Id: photoid.c,v 1.2 2004/05/27 21:58:18 noodles Exp $ */ -#include #include #include #include @@ -39,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;