imap/src/mailutil/mailutil.c
/* Log an event for the user to see
 * Accepts: string to log
 *	    error flag
 */
Log an event for the user to see
Accepts: string to log
error flag
Log an event for the user to see Accepts : string to log error flag
void mm_log (char *string,long errflg)
{
  switch (errflg) {  
  case BYE:
  case NIL:			
    if (verbosep) fprintf (stderr,"[%s]\n",string);
    break;
  case PARSE:			
  case WARN:			
    fprintf (stderr,"warning: %s\n",string);
    break;
  case ERROR:			
  default:
    fprintf (stderr,"%s\n",string);
    break;
  }
}
void mm_log ( char * string , long errflg ) { switch ( errflg ) { case BYE : case NIL : if ( verbosep ) fprintf ( stderr , " \n " , string ) ; break ; case PARSE : case WARN : fprintf ( stderr , " \n " , string ) ; break ; case ERROR : default : fprintf ( stderr , " \n " , string ) ; break ; } }
Log an event for the user to see
 Accepts: string to log
          error flag
Log an event for the user to see Accepts : string to log error flag
/* no error */ /* parsing problem */ /* warning */ /* error */