Skip to content

Commit

Permalink
Update otel_observer.c - fix for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
wantedxnn authored Sep 20, 2023
1 parent c78376e commit 4723806
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/otel_observer.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ static void log_invalid_message(char *msg, zval *scope, zval *function) {
// Allocate a buffer for the formatted message.
char *formatted = malloc(formatted_size);
if (formatted == NULL) {
php_log_err("OpenTelemetry: Failed to allocate memory for formatted message.");
php_log_err("OpenTelemetry: Failed to allocate "
"memory for formatted message.");
return;
}

Expand Down

0 comments on commit 4723806

Please sign in to comment.