- Timestamp:
- May 23, 2001, 10:11:49 PM (23 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c6e6323a87c2b81815fef74958856441f727dc95
- Parents:
- 5c996f9e57a2f184b3acf14e70f4b390ae256659
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/modgen/utils.cc
r5c996f9 rfd55c1 1 1 /* 2 * $Id: utils.cc,v 1.1 0 2000-12-05 15:26:59 obachmanExp $2 * $Id: utils.cc,v 1.11 2001-05-23 20:11:49 anne Exp $ 3 3 */ 4 4 … … 97 97 ) 98 98 { 99 char* p = (char*) malloc(512*sizeof(char));99 static char p[512]; 100 100 101 101 switch(what) … … 111 111 break; 112 112 default: 113 snprintf(p, sizeof(p), "%s/%s", module->name, text); 113 snprintf(p, sizeof(p), "%s/%s", module->name, text); 114 114 break; 115 115 }
Note: See TracChangeset
for help on using the changeset viewer.