Lines Matching refs:log_hostname
166 char *log_hostname;
887 log_control.log_hostname = (char *) malloc(MAXHOSTNAMELEN + 1);
888 if (log_control.log_hostname) {
889 if (gethostname(log_control.log_hostname, MAXHOSTNAMELEN) == -1) {
890 free(log_control.log_hostname);
891 log_control.log_hostname = NULL;
893 log_control.log_hostname[MAXHOSTNAMELEN] = '\0';
951 if (log_control.log_hostname)
952 free(log_control.log_hostname);
953 log_control.log_hostname = (char *) NULL;
1070 log_control.log_hostname ? log_control.log_hostname : "",