/[pcsclite]/trunk/Drivers/ccid/src/ccid.c
ViewVC logotype

Diff of /trunk/Drivers/ccid/src/ccid.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1050 by rousseau, Fri Jul 9 07:10:17 2004 UTC revision 1051 by rousseau, Fri Jul 9 08:45:21 2004 UTC
# Line 82  int ccid_open_hack(unsigned int lun) Line 82  int ccid_open_hack(unsigned int lun)
82  void ccid_error(int error, char *file, int line, char *function)  void ccid_error(int error, char *file, int line, char *function)
83  {  {
84          char *text;          char *text;
85            char var_text[20];
86    
87          switch (error)          switch (error)
88          {          {
# Line 188  void ccid_error(int error, char *file, i Line 189  void ccid_error(int error, char *file, i
189                  default:                  default:
190                          if ((error >= 1) && (error <= 127))                          if ((error >= 1) && (error <= 127))
191                          {                          {
                                 char var_text[20];  
   
192                                  sprintf(var_text, "error on byte %d", error);                                  sprintf(var_text, "error on byte %d", error);
193                                  text = var_text;                                  text = var_text;
194                          }                          }

Legend:
Removed from v.1050  
changed lines
  Added in v.1051

  ViewVC Help
Powered by ViewVC 1.1.5