# HG changeset patch # User Daniel Atallah # Date 1191469967 0 # Node ID d3443cb6a60f51ebf21acca0a2c2f6f45e26e70e # Parent d1e8f4d63f01a559c539ab5f1a59d5e3dd7f22e8 Fix null printf. diff -r d1e8f4d63f01 -r d3443cb6a60f libpurple/protocols/msn/msn.c --- a/libpurple/protocols/msn/msn.c Thu Oct 04 02:42:15 2007 +0000 +++ b/libpurple/protocols/msn/msn.c Thu Oct 04 03:52:47 2007 +0000 @@ -1985,7 +1985,7 @@ #if PHOTO_SUPPORT /* Find the URL to the photo; must be before the marshalling [Bug 994207] */ photo_url_text = msn_get_photo_url(url_text); - purple_debug_info("MSNP14","photo url:{%s}\n",photo_url_text); + purple_debug_info("MSNP14","photo url:{%s}\n", photo_url_text ? photo_url_text : "(null)"); /* Marshall the existing state */ info2_data = g_malloc0(sizeof(MsnGetInfoStepTwoData));