+0 -38 +/-2 browse
1 | diff --git a/.gdbinit b/.gdbinit |
2 | index c649c37..c468970 100644 |
3 | --- a/.gdbinit |
4 | +++ b/.gdbinit |
5 | @@ -1,42 +1,5 @@ |
6 | set language rust |
7 | source ~/.gdbinit |
8 | break rust_panic |
9 | - break core::option::expect_failed::h4927e1fef06c4878 |
10 | - break core::panicking::panic |
11 | - break libcore/panicking.rs:58 |
12 | - break libcore/result.rs:945 |
13 | set auto-load python-scripts |
14 | - break melib/src/mailbox/thread.rs:1010 |
15 | set print thread-events off |
16 | - |
17 | - #python |
18 | - #import os |
19 | - #import sys |
20 | - # |
21 | - #sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/') |
22 | - #import gdb |
23 | - #import gdb_meli |
24 | - # |
25 | - #print(gdb_meli.__file__) |
26 | - # |
27 | - #help(gdb_meli) |
28 | - ##from gdb_meli import build_pretty_printer |
29 | - ##print(gdb.objfiles()[0].filename) |
30 | - ##gdb_meli.register_pretty_printer(gdb) |
31 | - ##gdb.printing.register_pretty_printer( |
32 | - ## gdb.current_objfile(), |
33 | - ## gdb_meli.build_pretty_printer()) |
34 | - #end |
35 | - python |
36 | - |
37 | - import sys, os |
38 | - |
39 | - sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/') |
40 | - |
41 | - |
42 | - import gdb_meli, gdb |
43 | - #gdb_meli.register_meli_printers(gdb) |
44 | - #gdb.printing.register_pretty_printer( |
45 | - # gdb.current_objfile(), |
46 | - # gdb_meli.build_meli_printer()) |
47 | - end |
48 | diff --git a/melib/src/backends/imap/protocol_parser.rs b/melib/src/backends/imap/protocol_parser.rs |
49 | index ca286ac..6bfd726 100644 |
50 | --- a/melib/src/backends/imap/protocol_parser.rs |
51 | +++ b/melib/src/backends/imap/protocol_parser.rs |
52 | @@ -603,7 +603,6 @@ named!( |
53 | >> tag!(")\r\n") |
54 | >> ({ |
55 | let mut env = env; |
56 | - debug!(unsafe { std::str::from_utf8_unchecked(bodystructure) }); |
57 | let has_attachments = bodystructure_has_attachments(bodystructure); |
58 | env.set_has_attachments(has_attachments); |
59 | (uid_flags.0, uid_flags.1, env) |