- Timestamp:
- Aug 27, 2005, 12:27:50 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/substring.cc
r5147 r5149 64 64 l = strlen( offset); 65 65 strncpy( strings[i], offset, l); 66 strings[i][l] = 0;66 strings[i][l] = '\0'; 67 67 } 68 68 -
trunk/src/util/shell.cc
r5148 r5149 86 86 void Shell::testI (int i) 87 87 { 88 printf("This is the Test for one Int '%d'\n", i);88 PRINTF(3)("This is the Test for one Int '%d'\n", i); 89 89 } 90 90 91 91 void Shell::testS (const char* s) 92 92 { 93 printf("This is the Test for one String '%s'\n", s);93 PRINTF(3)("This is the Test for one String '%s'\n", s); 94 94 } 95 95 -
trunk/src/util/shell_command.h
r5148 r5149 161 161 virtual void executeCommand (BaseObject* object, const char* parameters) 162 162 { 163 if (parameters != NULL)163 // if (parameters != NULL) 164 164 //SubString params(parameters, ','); 165 165 #define FUNCTOR_LIST(x) ShellCommandExecute ## x … … 167 167 FUNCTOR_LIST(0); 168 168 FUNCTOR_LIST(1)(l_INT); 169 //FUNCTOR_LIST(1)(l_STRING);169 FUNCTOR_LIST(1)(l_STRING); 170 170 #undef FUNCTOR_LIST 171 171 }
Note: See TracChangeset
for help on using the changeset viewer.