~ubuntu-branches/debian/jessie/lftp/jessie

« back to all changes in this revision

Viewing changes to src/resource.cc

  • Committer: Package Import Robot
  • Author(s): Noël Köthe
  • Date: 2014-06-03 11:06:43 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20140603110643-jtimywxsl1apddj9
Tags: 4.5.1-1
* new upstream release from 2014-06-02
  - removed 4.5.0build.patch because it is now included

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
# include <langinfo.h>
374
374
#endif
375
375
 
 
376
bool ResType::class_inited;
376
377
void ResType::ClassInit()
377
378
{
378
 
   if(types_by_name)
 
379
   if(class_inited)
379
380
      return;
380
 
   types_by_name=new xmap<ResType*>;
 
381
   class_inited=true;
381
382
   for(ResType *scan=types_by_name->each_begin(); scan; scan=types_by_name->each_next())
382
383
   {
383
384
      if(scan->defvalue && scan->val_valid)