diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-06-02 07:18:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-06-02 07:18:18 +0000 |
commit | 0c95d973d33e425757a1c88332398a804a552a52 (patch) | |
tree | ed42bcb8ede19873ceec548d5d83da102c8e3747 /wiretap/snoop.c | |
parent | 38638f9fb154d5eb4d00435bee9ec0ab726f83cb (diff) |
No newlines in the additional-error-information string, please.
svn path=/trunk/; revision=28584
Diffstat (limited to 'wiretap/snoop.c')
-rw-r--r-- | wiretap/snoop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/snoop.c b/wiretap/snoop.c index 7862df5680..1f20f655ee 100644 --- a/wiretap/snoop.c +++ b/wiretap/snoop.c @@ -484,7 +484,7 @@ static gboolean snoop_read(wtap *wth, int *err, gchar **err_info, * have a pseudo-header. */ *err = WTAP_ERR_BAD_RECORD; - *err_info = g_strdup_printf("snoop: atmsnoop file has a %u-byte packet, too small to have even an ATM pseudo-header\n", + *err_info = g_strdup_printf("snoop: atmsnoop file has a %u-byte packet, too small to have even an ATM pseudo-header", packet_size); return FALSE; } @@ -520,7 +520,7 @@ static gboolean snoop_read(wtap *wth, int *err, gchar **err_info, * have a pseudo-header. */ *err = WTAP_ERR_BAD_RECORD; - *err_info = g_strdup_printf("snoop: Shomiti wireless file has a %u-byte packet, too small to have even a wireless pseudo-header\n", + *err_info = g_strdup_printf("snoop: Shomiti wireless file has a %u-byte packet, too small to have even a wireless pseudo-header", packet_size); return FALSE; } |