deps/kb_meme/meme-5.0.1/src/motif-in-meme-json.c
/*****************************************************************************
 * An error occurred parsing the MEME HTML+JSON file
 ****************************************************************************/
An error occurred parsing the MEME HTML+JSON file
An error occurred parsing the MEME HTML + JSON file
void mhtml2_verror(void *user_data, char *format, va_list ap) {
  DATA_T *data;
  int len;
  char dummy[1], *msg;
  va_list ap_copy;
  data = (DATA_T*)user_data;
  va_copy(ap_copy, ap);
  len = vsnprintf(dummy, 1, format, ap_copy);
  va_end(ap_copy);
  msg = mm_malloc(sizeof(char) * (len + 1));
  vsnprintf(msg, len + 1, format, ap);
  linklst_add(msg, data->errors);
}
void mhtml2_verror ( void * user_data , char * format , va_list ap ) { DATA_T * data ; int len ; char dummy [ 1 ] , * msg ; va_list ap_copy ; data = ( DATA_T * ) user_data ; va_copy ( ap_copy , ap ) ; len = vsnprintf ( dummy , 1 , format , ap_copy ) ; va_end ( ap_copy ) ; msg = mm_malloc ( sizeof ( char ) * ( len + 1 ) ) ; vsnprintf ( msg , len + 1 , format , ap ) ; linklst_add ( msg , data -> errors ) ; }
An error occurred parsing the MEME HTML+JSON file
An error occurred parsing the MEME HTML + JSON file