deps/kb_meme/meme-5.0.1/src/motif-in-dreme-xml.c
/*****************************************************************************
 * Stores a parser warning message for return
 ****************************************************************************/
Stores a parser warning message for return
Stores a parser warning message for return
static void local_warning(CTX_T *data, char *format, ...) {
  va_list  argp;
  int len;
  char dummy[1], *msg;
  va_start(argp, format);
  len = vsnprintf(dummy, 1, format, argp);
  va_end(argp);
  msg = mm_malloc(sizeof(char) * (len + 1));
  va_start(argp, format);
  vsnprintf(msg, len + 1, format, argp);
  va_end(argp);
  linklst_add(msg, data->warnings);
}
static void local_warning ( CTX_T * data , char * format , ... ) { va_list argp ; int len ; char dummy [ 1 ] , * msg ; va_start ( argp , format ) ; len = vsnprintf ( dummy , 1 , format , argp ) ; va_end ( argp ) ; msg = mm_malloc ( sizeof ( char ) * ( len + 1 ) ) ; va_start ( argp , format ) ; vsnprintf ( msg , len + 1 , format , argp ) ; va_end ( argp ) ; linklst_add ( msg , data -> warnings ) ; }
Stores a parser warning message for return
Stores a parser warning message for return