Lines Matching refs:msg
119 state->msg = NULL; /* no error message yet */
548 (state->msg == NULL ? "" : state->msg);
573 state->msg accordingly. Free any previous error message already there. Do
578 void ZLIB_INTERNAL gz_error(state, err, msg)
581 const char *msg;
584 if (state->msg != NULL) {
586 free(state->msg);
587 state->msg = NULL;
596 if (msg == NULL)
604 if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
610 snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
611 "%s%s%s", state->path, ": ", msg);
613 strcpy(state->msg, state->path);
614 strcat(state->msg, ": ");
615 strcat(state->msg, msg);