Changeset 12 in Main for trunk/Common/log.c


Ignore:
Timestamp:
Sep 13, 2024, 10:36:03 PM (2 months ago)
Author:
Nishi
Message:

vhost works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/log.c

    r6 r12  
    3838                        if(log[i] == 's') {
    3939                                char* tmp = result;
    40                                 result = cm_strcat(tmp, va_arg(args, char*));
     40                                char* c = va_arg(args, char*);
     41                                result = cm_strcat(tmp, c == NULL ? "(null)" : c);
    4142                                free(tmp);
    4243                        } else if(log[i] == 'd') {
Note: See TracChangeset for help on using the changeset viewer.