Commit ee910405 authored by jan.koester's avatar jan.koester
Browse files

test

parent ae3e2003
Loading
Loading
Loading
Loading
+5 −2
Changes for src/blogi.cpp: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2993,8 +2993,11 @@ public:
void logFiles(const char *path,int fd){
    int pfd=open(path,O_APPEND|O_CREAT|O_WRONLY,0x760);

    if(pfd<0)
        return;
    if(pfd<0){
        libhttppp::HTTPException exp;
        exp[libhttppp::HTTPException::Critical] << "can't open or create logfile !";
        throw exp;
    }

    struct passwd pwd_storage;
    char buffer[1024];