diff options
author | Christian Grothoff <christian@grothoff.org> | 2006-03-15 08:39:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2006-03-15 08:39:20 +0000 |
commit | edc1031d7e6e806c4d96b0c3a6dad5d8bffa7f38 (patch) | |
tree | b2fef1736eb23ff0c1e85615f96308b8d76e7e2b | |
parent | c573ff19dad2596618ac87592c41c1c5253cffbd (diff) | |
download | gnunet-gtk-edc1031d7e6e806c4d96b0c3a6dad5d8bffa7f38.tar.gz gnunet-gtk-edc1031d7e6e806c4d96b0c3a6dad5d8bffa7f38.zip |
fix
-rw-r--r-- | src/plugins/fs/download.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c index 7d234b28..acc3df2c 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -525,7 +525,7 @@ static int addDownloadView(void * cls, | |||
525 | &iiter, | 525 | &iiter, |
526 | NULL, | 526 | NULL, |
527 | 0); | 527 | 0); |
528 | sname = filename[strlen(filename)-1]; | 528 | sname = &filename[strlen(filename)-1]; |
529 | while ( (sname > filename) && | 529 | while ( (sname > filename) && |
530 | (sname[-1] != '/') && | 530 | (sname[-1] != '/') && |
531 | (sname[-1] != '\\') ) | 531 | (sname[-1] != '\\') ) |