%\ is an interesting printf argument, but I prefer %s
authorAndrew Tridgell <tridge@samba.org>
Thu, 12 Nov 1998 23:59:59 +0000 (23:59 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 12 Nov 1998 23:59:59 +0000 (23:59 +0000)
(This used to be commit b93f686655e871d7bfec9c7601cf3c175008041a)

source3/web/swat.c

index 852d7c09333e34b11b155e38d67f361628981206..30150815fe69694d0889d3e674d0bc7a9c1a8b04 100644 (file)
@@ -611,7 +611,7 @@ static BOOL change_password(const char *remote_machine, char *user_name,
                                         msg_str, sizeof(msg_str));
 
        if(*msg_str)
-               printf("%\n<p>", msg_str);
+               printf("%s\n<p>", msg_str);
        if(*err_str)
                printf("%s\n<p>", err_str);