Home
last modified time | relevance | path

Searched refs:msgpath (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/usr.sbin/smtpd/
H A Dqueue_backend.c177 char msgpath[PATH_MAX]; in queue_message_delete() local
187 queue_message_path(msgid, msgpath, sizeof(msgpath)); in queue_message_delete()
188 unlink(msgpath); in queue_message_delete()
211 char msgpath[PATH_MAX]; in queue_message_commit() local
218 queue_message_path(msgid, msgpath, sizeof(msgpath)); in queue_message_commit()
221 bsnprintf(tmppath, sizeof tmppath, "%s.comp", msgpath); in queue_message_commit()
222 ifp = fopen(msgpath, "r"); in queue_message_commit()
233 if (rename(tmppath, msgpath) == -1) { in queue_message_commit()
243 bsnprintf(tmppath, sizeof tmppath, "%s.enc", msgpath); in queue_message_commit()
244 ifp = fopen(msgpath, "r"); in queue_message_commit()
[all …]
H A Dqueue_fs.c113 char msgpath[PATH_MAX]; in queue_fs_message_commit() local
116 fsqueue_message_incoming_path(msgid, msgpath, sizeof(msgpath)); in queue_fs_message_commit()
117 if (strlcat(msgpath, PATH_MESSAGE, sizeof(msgpath)) in queue_fs_message_commit()
118 >= sizeof(msgpath)) in queue_fs_message_commit()
120 if (rename(path, msgpath) == -1) in queue_fs_message_commit()