]> diplodocus.org Git - nmh/blobdiff - sbr/oauth.c
Makefile.am: Alter long lists to be sorted, one entry per line.
[nmh] / sbr / oauth.c
index 21035ac29ef3279e98478a9a7d80211c8c452971..741cacb0f26bd3f107ba3048c1848158157ffcb7 100755 (executable)
@@ -1,4 +1,5 @@
-/*
+/* oauth.c -- OAuth 2.0 implementation for XOAUTH2 in SMTP and POP3.
+ *
  * This code is Copyright (c) 2014, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -877,7 +878,7 @@ make_query_url(char *s, size_t size, CURL *curl, const char *base_url, ...)
 }
 
 static int
-debug_callback(const CURL *handle, curl_infotype type, const char *data,
+debug_callback(CURL *handle, curl_infotype type, char *data,
                size_t size, void *userptr)
 {
     FILE *fp = userptr;