Skip to content

Commit

Permalink
Remove unwanted newline.
Browse files Browse the repository at this point in the history
The error message is included in parentheses as part of a larger error
message, so you don't want a newline at the end.

Change-Id: Iabff74941972504770c45b94b124e25d124b512c
Reviewed-on: https://code.wireshark.org/review/36441
Reviewed-by: Guy Harris <guy@alum.mit.edu>
  • Loading branch information
guyharris committed Mar 15, 2020
1 parent c14a887 commit 5b4af5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rawshark.c
Expand Up @@ -893,7 +893,7 @@ raw_pipe_read(wtap_rec *rec, Buffer *buf, int *err, gchar **err_info, gint64 *da
#endif
if (bytes_needed > WTAP_MAX_PACKET_SIZE_STANDARD) {
*err = WTAP_ERR_BAD_FILE;
*err_info = g_strdup_printf("Bad packet length: %lu\n",
*err_info = g_strdup_printf("Bad packet length: %lu",
(unsigned long) bytes_needed);
return FALSE;
}
Expand Down

0 comments on commit 5b4af5b

Please sign in to comment.