Changeset 745 for trunk/server/lib/util/params.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/lib/util/params.c
r596 r745 489 489 } /* Parse */ 490 490 491 static myFILE *OpenConfFile( const char *FileName )491 static myFILE *OpenConfFile(TALLOC_CTX *mem_ctx, const char *FileName ) 492 492 /* ------------------------------------------------------------------------ ** 493 493 * Open a configuration file. … … 503 503 myFILE *ret; 504 504 505 ret = talloc( talloc_autofree_context(), myFILE);505 ret = talloc(mem_ctx, myFILE); 506 506 if (!ret) return NULL; 507 507 … … 544 544 const char *func = "params.c:pm_process() -"; 545 545 546 InFile = OpenConfFile( FileName );/* Open the config file. */546 InFile = OpenConfFile(NULL, FileName); /* Open the config file. */ 547 547 if( NULL == InFile ) 548 548 return( false );
Note:
See TracChangeset
for help on using the changeset viewer.