]> andersk Git - moira.git/blobdiff - clients/moira/pobox.c
fix to use library version of canonicalize hostname
[moira.git] / clients / moira / pobox.c
index 20281cd23273fb6df544a6cb33b70891fafa2180..3620ccf17221af0b5033870ee358c27850d5e147 100644 (file)
 #include <strings.h>
 #include <ctype.h>
 #include <sms.h>
+#include <sms_app.h>
 #include <menu.h>
 
 #include "mit-copyright.h"
 #include "defs.h"
 #include "f_defs.h"
 #include "globals.h"
-#include "infodefs.h"
 
 #define FOREIGN_BOX ("SMTP")
 #define LOCAL_BOX ("POP")
@@ -147,7 +147,7 @@ char * local_user;
     if (PrintPOMachines() == SUB_NORMAL) {
        Put_message("");
        Prompt_input("Which Machine? ", temp_buf, BUFSIZ);
-       return(Strsave(CanonicalizeHostname(temp_buf)));
+       return(canonicalize_hostname(strsave(temp_buf)));
     }
     Put_message("Could not get machines to choose from, quitting.");
     return((char *) SUB_ERROR);
This page took 0.249056 seconds and 4 git commands to generate.