diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
commit | e32686c10a4f4fe7c34b181845220b5c491f32fb (patch) | |
tree | c090052c311a3a1732d03dc17fe357f97437b397 /dpi | |
parent | 74f64426001a693759e47963f99965e0e6ee847d (diff) |
whitespace cleanup: 's/ +$//g'
Diffstat (limited to 'dpi')
-rw-r--r-- | dpi/downloads.cc | 8 | ||||
-rw-r--r-- | dpi/file.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index 59df6361..4c7162a7 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -107,7 +107,7 @@ class DLItem { enum { ST_newline, ST_number, ST_discard, ST_copy }; - + pid_t mPid; int LogPipe[2]; char *shortname, *fullname; @@ -744,7 +744,7 @@ void DLItem::update() /*! SIGCHLD handler */ static void raw_sigchld(int) -{ +{ caught_sigchld = 1; } @@ -976,7 +976,7 @@ void DLWin::add(const char *full_filename, const char *url, DLAction action) } else if (f_pid < 0) { perror("fork, "); exit(1); - } else { + } else { /* father */ dl_win->show(); dl_item->pid(f_pid); @@ -999,7 +999,7 @@ DLAction DLWin::check_filename(char **p_fullname) return DL_NEWFILE; ds = dStr_sized_new(128); - dStr_sprintf(ds, + dStr_sprintf(ds, "The file:\n %s (%d Bytes)\nalready exists. What do we do?", *p_fullname, (int)ss.st_size); ch = fltk::choice(ds->str, "Rename", "Continue", "Abort"); @@ -678,7 +678,7 @@ static int File_get_file(ClientInfo *Client, } File_close(fd); - + return 0; } |