X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=photoid.c;h=dd28753e49f6dfd4ef6e82b7b395e87069d535e9;hb=3b764b8e96bfcd76f36a76b58ac8ce812cff6ec1;hp=8da62cee2ff723fcb0d500446828d4b48d566b03;hpb=b3e534f945ae56605bc5309e7c5af020c797a69b;p=onak.git 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;