Lines Matching defs:msg
110 state->msg = NULL; /* no error message yet */
515 (state->msg == NULL ? "" : state->msg);
538 state->msg accordingly. Free any previous error message already there. Do
543 void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg) {
545 if (state->msg != NULL) {
547 free(state->msg);
548 state->msg = NULL;
557 if (msg == NULL)
565 if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
571 (void)snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
572 "%s%s%s", state->path, ": ", msg);
574 strcpy(state->msg, state->path);
575 strcat(state->msg, ": ");
576 strcat(state->msg, msg);