]> diplodocus.org Git - nmh/blobdiff - sbr/oauth_prof.c
Added many flags to CFLAGS with gcc, if supported.
[nmh] / sbr / oauth_prof.c
index 5bedadcbeacf7f4cb36132342c549a84687dfc5f..db9c5cdae8969f2f8b05cdaddda8ea6a2f47b44d 100644 (file)
@@ -6,6 +6,8 @@
  */
 
 #include "h/mh.h"
+#include "concat.h"
+#include "getcpy.h"
 #include "context_find.h"
 
 #ifdef OAUTH_SUPPORT
@@ -84,7 +86,7 @@ update_svc(mh_oauth_service_info *svc, const char *svc_name, char *errbuf,
 #define update(name)                                                    \
     update_svc_field(&svc->name, #name, svc_name);                       \
     if (svc->name == NULL) {                                             \
-       snprintf(errbuf, errbuflen, "%s", #name " is missing");          \
+       snprintf(errbuf, errbuflen, "%s", #name " is missing");          \
        errbuf[errbuflen - 1] = '\0';                                    \
         return false;                                                    \
     }