Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Created a release checklist.
[doldaconnect.git]
/
clients
/
gtk2
/
dolcon.c
diff --git
a/clients/gtk2/dolcon.c
b/clients/gtk2/dolcon.c
index
64eaf3e
..
bf2117b
100644
(file)
--- a/
clients/gtk2/dolcon.c
+++ b/
clients/gtk2/dolcon.c
@@
-41,6
+41,7
@@
#include <pwd.h>
#include <locale.h>
#include <assert.h>
#include <pwd.h>
#include <locale.h>
#include <assert.h>
+#include <stdint.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
@@
-1165,9
+1166,8
@@
void handleresps(void)
if((buf = icwcstombs(ires->argv[1].val.str, "UTF-8")) != NULL)
{
p = buf;
if((buf = icwcstombs(ires->argv[1].val.str, "UTF-8")) != NULL)
{
p = buf;
- /* XXX: Too NMDC-specific! */
- if(strrchr(p, '\\') != NULL)
- p = strrchr(p, '\\') + 1;
+ if(strrchr(p, '/') != NULL)
+ p = strrchr(p, '/') + 1;
gtk_tree_store_set(srchmodel, &piter, 3, p, -1);
free(buf);
}
gtk_tree_store_set(srchmodel, &piter, 3, p, -1);
free(buf);
}
@@
-2256,7
+2256,7
@@
int main(int argc, char **argv)
}
dc_init();
signal(SIGCHLD, SIG_IGN);
}
dc_init();
signal(SIGCHLD, SIG_IGN);
- pubhubaddr = sstrdup("http://
www.hublist.org/PublicHubL
ist.xml.bz2");
+ pubhubaddr = sstrdup("http://
dchublist.com/hubl
ist.xml.bz2");
dcserver = sstrdup("");
if((pwent = getpwuid(getuid())) == NULL)
{
dcserver = sstrdup("");
if((pwent = getpwuid(getuid())) == NULL)
{