Mercurial > audlegacy-plugins
changeset 2993:e504acd50ecc
Add more assertions.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 01 Mar 2009 23:29:04 -0600 |
parents | 2a4eb326eb1d |
children | 732c4cb24aec |
files | src/neon/neon.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/neon/neon.c Mon Mar 02 03:53:57 2009 +0200 +++ b/src/neon/neon.c Sun Mar 01 23:29:04 2009 -0600 @@ -517,6 +517,9 @@ _ENTER; + g_return_val_if_fail(handle != NULL, -1); + g_return_val_if_fail(handle->purl != NULL, -1); + if (handle->purl->query && *(handle->purl->query)) { gchar *tmp = g_strdup_printf("%s?%s", handle->purl->path, handle->purl->query); handle->request = ne_request_create(handle->session, "GET", tmp);