Changeset c4b45ce


Ignore:
Timestamp:
Mar 29, 2009, 3:51:32 PM (12 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
bc7ebf6
Parents:
488ebf6
Message:
remove unnecessary sprintf
File:
1 edited

Legend:

Unmodified
Added
Removed
  • regex.c

    rfa00c5c rc4b45ce  
    3737{
    3838  int ret;
    39   char buff1[LINE], buff2[LINE];
     39  char buff1[LINE];
    4040  char *ptr;
    4141 
     
    5353  if (ret) {
    5454    regerror(ret, NULL, buff1, LINE);
    55     sprintf(buff2, "Error in regular expression: %s", buff1);
    56     owl_function_makemsg(buff2);
     55    owl_function_makemsg("Error in regular expression: %s", buff1);
    5756    owl_free(re->string);
    5857    re->string=NULL;
Note: See TracChangeset for help on using the changeset viewer.