2007-03-21 [wwp] 2.8.1cvs30
[claws.git] / src / common / socket.c
index 32449cb078a89653c298dad043609fbc99462e19..42e2e111ceec8900f57b20141107ab9f87320380 100644 (file)
@@ -679,7 +679,7 @@ SockInfo *sock_connect_cmd(const gchar *hostname, const gchar *tunnelcmd)
                perror("socketpair");
                return NULL;
        }
-       log_message("launching tunnel command \"%s\"\n", tunnelcmd);
+       log_message(LOG_PROTOCOL, "launching tunnel command \"%s\"\n", tunnelcmd);
        if (fork() == 0) {
                close(fd[0]);
                close(0);
@@ -1390,7 +1390,7 @@ gint fd_write_all(gint fd, const gchar *buf, gint len)
                         n = write(fd, buf, len);
 
                if (n <= 0) {
-                       log_error(_("write on fd%d: %s\n"), fd, strerror(errno));
+                       log_error(LOG_PROTOCOL, _("write on fd%d: %s\n"), fd, strerror(errno));
                        return -1;
                }
                len -= n;