From 53c19e5b66a92a8278fd4f6752ceb879b616296b Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Tue, 21 Jul 2009 03:26:59 +0300 Subject: [PATCH] Bug 770: Comment updates Since commit b7d03f9b044e69e712b8c66ff9a4974f6ab564a5 on 2009-07-19, lun_resume() no longer assumes that data points to struct cdf_hop. --- src/session/download.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/session/download.c b/src/session/download.c index 0474ece4..3ffb7023 100644 --- a/src/session/download.c +++ b/src/session/download.c @@ -493,10 +493,7 @@ struct lun_hop { /** This function will be called when the user answers. */ lun_callback_T *callback; - /** A pointer to be passed to #callback. If #resume includes - * ::DOWNLOAD_RESUME_ALLOWED, this must point to struct - * cdf_hop because the pointer can be read by lun_resume(), - * which assumes so. */ + /** A pointer to be passed to #callback. */ void *data; /** Whether the download can be resumed. @@ -655,9 +652,7 @@ lun_resume(void *lun_hop_) * need not or cannot be asked. * * @param data - * A pointer to be passed to @a callback. If @a resume includes - * ::DOWNLOAD_RESUME_ALLOWED, this must point to struct cdf_hop - * because the pointer can be read by lun_resume(), which assumes so. + * A pointer to be passed to @a callback. * * @relates lun_hop */ static void -- 2.11.4.GIT