# HG changeset patch # User Paul Aurich # Date 1239486778 0 # Node ID 430298a6151206d2291e69d5f33ab98f036a7e6f # Parent d68b338d9eeddb0058504656f2802d2fad96bf24 Reformat a printf so the HTTP headers are easier to read diff -r d68b338d9eed -r 430298a61512 libpurple/protocols/yahoo/yahoo_filexfer.c --- a/libpurple/protocols/yahoo/yahoo_filexfer.c Sat Apr 11 17:41:18 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo_filexfer.c Sat Apr 11 21:52:58 2009 +0000 @@ -1385,7 +1385,13 @@ strcpy(time_str + strlen(time_str) - 1, "\0"); if (xd->txbuflen == 0) { - xd->txbuf = g_strdup_printf("HTTP/1.0 200 OK\r\nDate: %s GMT\r\nServer: Y!/1.0\r\nMIME-version: 1.0\r\nLast-modified: %s GMT\r\nContent-length: %d\r\n\r\n", time_str, time_str, xfer->size); + xd->txbuf = g_strdup_printf("HTTP/1.0 200 OK\r\n" + "Date: %s GMT\r\n" + "Server: Y!/1.0\r\n" + "MIME-version: 1.0\r\n" + "Last-modified: %s GMT\r\n" + "Content-length: %d\r\n\r\n", + time_str, time_str, xfer->size); xd->txbuflen = strlen(xd->txbuf); xd->txbuf_written = 0; }