X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fsendcommand.c;h=061d0b44fab62cbd4c87e0f5b3c5799b2d98e04f;hb=f6df762979437d12004feb37bd1535f4880094ff;hp=811775535b0bc2433ff4ae567a19dad15586e076;hpb=7f22c47809a3e10566f791acb7e6cb52197e6626;p=citadel.git diff --git a/citadel/sendcommand.c b/citadel/sendcommand.c index 811775535..061d0b44f 100644 --- a/citadel/sendcommand.c +++ b/citadel/sendcommand.c @@ -93,8 +93,8 @@ void logoff(int e) */ void np_attach_to_server(void) { - char hostbuf[256], portbuf[256]; - char buf[256]; + char hostbuf[SIZ], portbuf[SIZ]; + char buf[SIZ]; char *args[] = {"sendcommand", NULL}; @@ -119,8 +119,8 @@ void np_attach_to_server(void) int main(int argc, char **argv) { int a; - char cmd[256]; - char buf[256]; + char cmd[SIZ]; + char buf[SIZ]; strcpy(bbs_home_directory, BBSDIR);