# HG changeset patch # User meillo@marmaro.de # Date 1279482108 -7200 # Node ID dcb315792513527d0bdb0fcb650b823819ecf6f4 # Parent 0241aaccfcdbf0fbc448e48f7cda1e2c0c4f4735 removed commented code and replaced // by /* */ diff -r 0241aaccfcdb -r dcb315792513 src/fail_msg.c --- a/src/fail_msg.c Sat Jul 17 00:34:40 2010 +0200 +++ b/src/fail_msg.c Sun Jul 18 21:41:48 2010 +0200 @@ -58,8 +58,6 @@ gchar *cmd; pid_t pid; - // cmd = g_strdup_printf(SBINDIR"/masqmail -oi -f \"<>\" %s@%s", - // ret_path->local_part, ret_path->domain); cmd = g_strdup_printf(SBINDIR "/masqmail -oi -f <> %s@%s", ret_path->local_part, ret_path->domain); if ((out = peidopen(cmd, "w", environ, &pid, conf.mail_uid, conf.mail_gid))) { gchar fmt[256], line[256]; diff -r 0241aaccfcdb -r dcb315792513 src/listen.c --- a/src/listen.c Sat Jul 17 00:34:40 2010 +0200 +++ b/src/listen.c Sun Jul 18 21:41:48 2010 +0200 @@ -69,7 +69,7 @@ logwrite(LOG_NOTICE, "connect from host %s, port %hd\n", rem_host, ntohs(sock_addr->sin_port)); #endif - // start child for connection: + /* start child for connection: */ signal(SIGCHLD, sigchld_handler); pid = fork(); if (pid == 0) { diff -r 0241aaccfcdb -r dcb315792513 src/lookup.c --- a/src/lookup.c Sat Jul 17 00:34:40 2010 +0200 +++ b/src/lookup.c Sun Jul 18 21:41:48 2010 +0200 @@ -51,16 +51,8 @@ { int n; int i; + int resp_len; - int resp_len; - /*errno = 0; */ - - /* - if (!stralloc_copy(&glue,domain)) return DNS_MEM; - if (!stralloc_0(&glue)) return DNS_MEM; - */ - - // resp_len = res_query(domain, C_IN, type, response.buf, sizeof(response)); DEBUG(5) debugf("DNS: before res_search()\n"); if (do_search) resp_len = res_search(domain, C_IN, type, response.buf, sizeof(response)); diff -r 0241aaccfcdb -r dcb315792513 src/md5/hmactest.c --- a/src/md5/hmactest.c Sat Jul 17 00:34:40 2010 +0200 +++ b/src/md5/hmactest.c Sun Jul 18 21:41:48 2010 +0200 @@ -24,7 +24,7 @@ main() { int i; - // unsigned char digest[16]; + /* unsigned char digest[16]; */ char digest[16]; char *msgid = "<1896.697170952@postoffice.reston.mci.net>"; char secret[65]; diff -r 0241aaccfcdb -r dcb315792513 src/peopen.c --- a/src/peopen.c Sat Jul 17 00:34:40 2010 +0200 +++ b/src/peopen.c Sun Jul 18 21:41:48 2010 +0200 @@ -93,7 +93,7 @@ if (close(pipe_fd[mode == Read ? 0 : 1]) != -1 && dup2(pipe_fd[mode == Read ? 1 : 0], mode == Read ? STDOUT_FILENO : STDIN_FILENO) != -1) { - // char *argv [] = { "/bin/sh", "-c", (char*) command, NULL }; + /* char *argv [] = { "/bin/sh", "-c", (char*) command, NULL }; */ char **argv = create_argv(command, 10); int ret; diff -r 0241aaccfcdb -r dcb315792513 src/readtest.c --- a/src/readtest.c Sat Jul 17 00:34:40 2010 +0200 +++ b/src/readtest.c Sun Jul 18 21:41:48 2010 +0200 @@ -9,7 +9,7 @@ int size = 20, ret; ret = read_sockline1(stdin, &buf, &size, 60, READSOCKL_CVT_CRLF); - // ret = read_sockline(stdin, buf, size, 60, READSOCKL_CHUG); + /* ret = read_sockline(stdin, buf, size, 60, READSOCKL_CHUG); */ printf("%s\n", buf); printf("ret = %d, size = %d, strlen = %d\n", ret, size, strlen(buf));