/[mcrypt]/libmcrypt/lib/mcrypt_extra.c
ViewVC logotype

Diff of /libmcrypt/lib/mcrypt_extra.c

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

revision 1.6 by nmav, Fri Jan 12 11:51:08 2001 UTC revision 1.7 by nmav, Tue Jan 23 11:51:19 2001 UTC
# Line 109  WIN32DLL_DEFINE char **mcrypt_list_algor Line 109  WIN32DLL_DEFINE char **mcrypt_list_algor
109                                              realloc(filename,                                              realloc(filename,
110                                                      (*size +                                                      (*size +
111                                                       1) * sizeof(char *));                                                       1) * sizeof(char *));
112                                            if (filename==NULL) return NULL;
113                                          filename[*size] =                                          filename[*size] =
114                                              calloc(1, tmpsize + 1);                                              calloc(1, tmpsize + 1);
115                                            if (filename[*size]==NULL) return NULL;
116                                          strcpy(filename[*size], dirname);                                          strcpy(filename[*size], dirname);
117    
118                                          ptr =                                          ptr =
# Line 167  WIN32DLL_DEFINE char **mcrypt_list_modes Line 169  WIN32DLL_DEFINE char **mcrypt_list_modes
169                                              realloc(filename,                                              realloc(filename,
170                                                      (*size +                                                      (*size +
171                                                       1) * sizeof(char *));                                                       1) * sizeof(char *));
172                                            if (filename==NULL) return NULL;
173                                            
174                                          filename[*size] =                                          filename[*size] =
175                                              calloc(1, tmpsize + 1);                                              calloc(1, tmpsize + 1);
176                                            if (filename[*size]==NULL) return NULL;
177                                            
178                                          strcpy(filename[*size], dirname);                                          strcpy(filename[*size], dirname);
179                                          ptr =                                          ptr =
180                                              strrchr(filename[*size], '.');                                              strrchr(filename[*size], '.');

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26