Difference for plugins/cfpython/cfpython.c from version 1.32 to 1.33


version 1.32 version 1.33
Line 1107
 
Line 1107
     static int rv = 0;      static int rv = 0;
     va_list args;      va_list args;
     char* buf;      char* buf;
       char* script_tmp;
     CFPContext* context;      CFPContext* context;
   
     rv = 0;      rv = 0;
Line 1125
 
Line 1126
     if (buf != NULL)      if (buf != NULL)
         snprintf(context->message, sizeof(context->message), "%s", buf);          snprintf(context->message, sizeof(context->message), "%s", buf);
     context->fix         = va_arg(args, int);      context->fix         = va_arg(args, int);
     snprintf(context->script, sizeof(context->script), "%s", cf_get_maps_directory(va_arg(args, char*)));      script_tmp = va_arg(args, char*);
       snprintf(context->script, sizeof(context->script), "%s", cf_get_maps_directory(script_tmp));
     snprintf(context->options, sizeof(context->options), "%s", va_arg(args, char*));      snprintf(context->options, sizeof(context->options), "%s", va_arg(args, char*));
     context->returnvalue = 0;      context->returnvalue = 0;
   
     va_end(args);      va_end(args);
   
       if ((context->event_code == EVENT_DESTROY) && !strcmp(script_tmp, "cfpython_auto_hook")) {
           Handle_Destroy_Hook(context->who);
           freeContext(context);
           return &rv;
       }
   
     if (!do_script(context, 0)) {      if (!do_script(context, 0)) {
         freeContext(context);          freeContext(context);
         return &rv;          return &rv;


Legend:
line(s) removed in v.1.32 
line(s) changed
 line(s) added in v.1.33

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:59