X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fpop_lib.c;h=637d01b448047122e2591d2a9dcdd5c4d4dfec73;hb=820b351118c174e9a5413a42ffbe778d837aecb5;hp=f63e4f72d89eca5e03f0e66df1ef0e3e201c8e77;hpb=814a01519c9605d479201b99eb16c97b0ad8635d;p=apps%2Fmadmutt.git diff --git a/pop/pop_lib.c b/pop/pop_lib.c index f63e4f7..637d01b 100644 --- a/pop/pop_lib.c +++ b/pop/pop_lib.c @@ -22,6 +22,7 @@ #include "lib/mem.h" #include "lib/intl.h" #include "lib/debug.h" +#include "lib/str.h" #include #include @@ -73,7 +74,7 @@ void pop_error (POP_DATA * pop_data, char *msg) } strfcpy (t, c, sizeof (pop_data->err_msg) - strlen (pop_data->err_msg)); - mutt_remove_trailing_ws (pop_data->err_msg); + str_skip_trailws (pop_data->err_msg); } /* Parse CAPA output */