diff options
| author | Dan Winship <danw@gnome.org> | 2009-05-15 10:26:34 -0400 |
|---|---|---|
| committer | Dan Winship <danw@gnome.org> | 2009-05-15 10:26:34 -0400 |
| commit | 3907ea17b414bc2aa7ac6e29fd7000fff934f926 (patch) | |
| tree | 2c4f397eb17335203a392fc6372600707f8a201f | |
| parent | 7376039d95add4ebcc9bb319d48abfeb49f5471f (diff) | |
| download | libsoup-3907ea17b414bc2aa7ac6e29fd7000fff934f926.tar.gz | |
Fix a warning introduced in fix for bug 582002
| -rw-r--r-- | libsoup/soup-message-io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c index f4ecfb55..d3f0a1ed 100644 --- a/libsoup/soup-message-io.c +++ b/libsoup/soup-message-io.c @@ -258,12 +258,12 @@ read_metadata (SoupMessage *msg, gboolean to_blank) if (!to_blank) break; if (nread == 1 && - !strncmp (io->read_meta_buf->data + + !strncmp ((char *)io->read_meta_buf->data + io->read_meta_buf->len - 2, "\n\n", 2)) break; else if (nread == 2 && - !strncmp (io->read_meta_buf->data + + !strncmp ((char *)io->read_meta_buf->data + io->read_meta_buf->len - 3, "\n\r\n", 3)) break; |
