+/*
+** store an error message in buff like libinn(3) says NNTPconnect does
+*/
+static void store_error(char *buff, char *string1, char *string2) {
+ /* we put these in [...] to make it easier to tell them apart
+ * from messages sent by the server */
+ snprintf(buff, NNTP_STRLEN, "[%s%s]", string1, string2);
+ buff[NNTP_STRLEN-1] = 0;
+}
+