drop the old string API fully.
[apps/madmutt.git] / pop / pop_lib.c
index e34165b..fae3c9b 100644 (file)
@@ -74,7 +74,7 @@ void pop_error (POP_DATA * pop_data, char *msg)
   }
 
   m_strcpy(t, sizeof(pop_data->err_msg) - strlen(pop_data->err_msg), c);
-  str_skip_trailws (pop_data->err_msg);
+  m_strrtrim(pop_data->err_msg);
 }
 
 /* Parse CAPA output */