Skip to content

Commit af2eece

Browse files
committed
CDRIVER-892 remove newline from err message
1 parent 3287d5c commit af2eece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ _mongoc_cluster_run_command (mongoc_cluster_t *cluster,
162162
/* add info about the command to writev_full's error message */
163163
bson_snprintf (error_message,
164164
sizeof error->message,
165-
"Failed to send \"%s\" command with database \"%s\": %s\n",
165+
"Failed to send \"%s\" command with database \"%s\": %s",
166166
get_command_name (command),
167167
db_name,
168168
error->message);

0 commit comments

Comments
 (0)