Changeset 6 in Main for trunk/Common/log.c
- Timestamp:
- Sep 13, 2024, 7:28:20 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/log.c
r3 r6 40 40 result = cm_strcat(tmp, va_arg(args, char*)); 41 41 free(tmp); 42 } else if(log[i] == 'd') { 43 int a = va_arg(args, int); 44 char buf[128]; 45 sprintf(buf, "%d", a); 46 char* tmp = result; 47 result = cm_strcat(tmp, buf); 48 free(tmp); 42 49 } 43 50 } else {
Note:
See TracChangeset
for help on using the changeset viewer.