Merge branch 'master' of git.dolda2000.com:/srv/git/r/doldaconnect
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 27 May 2008 14:45:07 +0000 (16:45 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 27 May 2008 14:45:07 +0000 (16:45 +0200)
doc/TODO
lib/uilib.c

index 2f15a87..f194997 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -22,5 +22,4 @@ Documentation:
 
 Code cleanups:
  * Clean up local variables in the library.
-
-Other: See output of "grep -r XXX ."
+ * See output of "grep -r XXX ."
index dfe414c..a299395 100644 (file)
@@ -104,7 +104,8 @@ struct {
     int family;
     int sentcreds;
 } servinfo;
-char *dc_srv_local;
+char dc_srv_local_addr;
+char *dc_srv_local = &dc_srv_local_addr;
 
 static void message(int bits, char *format, ...)
 {
@@ -320,7 +321,6 @@ int dc_init(void)
 {
     if((ichandle = iconv_open("wchar_t", "utf-8")) == (iconv_t)-1)
        return(-1);
-    dc_srv_local = sstrdup("");
     initcmds();
     return(0);
 }