mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.7 KiB

  1. --- ./server/html_status.c.orig 2004-09-24 13:25:35.000000000 +0200
  2. +++ ./server/html_status.c 2004-09-24 13:21:17.000000000 +0200
  3. @@ -16,16 +16,16 @@
  4. void print_html_header(FILE* where)
  5. {
  6. - fprintf(where, "<html><head><style type=\"text/css\">\n\
  7. -p, table, br { align: center; font-family: Arial, Helvetica }\n\
  8. -body, td { font-family: Arial, Helvetica }\n\
  9. -A { text-decoration: none;\n\
  10. -font-style: italic;\n\
  11. -font-family: Arial, Helvetica }\n\
  12. -</style></head><body bgcolor=\"#ffffff\" text=\"000080\">\n");
  13. - fprintf(where, "<center><p><a href=\"http://homepage.swissonline.ch/allenfuchs/stefan/lc/\">\
  14. -<img src=\"/lclog/lc-logo-01.gif\" width=\"246\" height=\"53\" border=\"0\"></a></p>\n\
  15. -<table width=\""TABLE_WIDTH"\" cellspacing=\"1\" cellpadding=\"2\" border=\"0\">\n");
  16. + fprintf(where, "<html><head><style type=\"text/css\">\n"
  17. +"p, table, br { align: center; font-family: Arial, Helvetica }\n"
  18. +"body, td { font-family: Arial, Helvetica }\r\n"
  19. +"A { text-decoration: none;\r\n"
  20. +"font-style: italic;\r\n"
  21. +"font-family: Arial, Helvetica }\r\n"
  22. +"</style></head><body bgcolor=\"#ffffff\" text=\"000080\">\n");
  23. + fprintf(where, "<center><p><a href=\"http://homepage.swissonline.ch/allenfuchs/stefan/lc/\">"
  24. +"<img src=\"/lclog/lc-logo-01.gif\" width=\"246\" height=\"53\" border=\"0\"></a></p>\n"
  25. +"<table width=\""TABLE_WIDTH"\" cellspacing=\"1\" cellpadding=\"2\" border=\"0\">\n");
  26. }
  27. void print_html_footer(FILE* where)
  28. --- ./server/user_pam.c.orig 2004-09-24 13:22:40.000000000 +0200
  29. +++ ./server/user_pam.c 2004-09-24 13:22:44.000000000 +0200
  30. @@ -30,7 +30,7 @@
  31. case PAM_TEXT_INFO:
  32. rsp[i].resp = strdup("!!");
  33. break;
  34. - default:
  35. + default:;
  36. }
  37. rsp[i].resp_retcode = PAM_SUCCESS;
  38. }
  39. --- ./server/cfg.c.orig 2004-09-24 12:32:07.000000000 +0200
  40. +++ ./server/cfg.c 2004-09-24 12:33:50.000000000 +0200
  41. @@ -660,7 +660,7 @@
  42. else list_del(&shtdn_ipl, (struct list_hdr_t*)iplentry);
  43. }
  44. break;
  45. - default:
  46. + default:;
  47. }
  48. }
  49. }
  50. --- ./server/proc_lcp3.c.orig 2004-09-24 13:21:52.000000000 +0200
  51. +++ ./server/proc_lcp3.c 2004-09-24 13:21:59.000000000 +0200
  52. @@ -158,7 +158,7 @@
  53. }
  54. who->status = CLT_OFFLINE;
  55. break;
  56. - default:
  57. + default:;
  58. // uh... don't dial -> status would be incorrect
  59. }
  60. lcp3_cmd_queue(CMD3_CLIENTSTAT, who, NULL, 0);
  61. --- ./server/proc.c.orig 2004-09-24 13:21:35.000000000 +0200
  62. +++ ./server/proc.c 2004-09-24 13:21:42.000000000 +0200
  63. @@ -223,7 +223,7 @@
  64. exec_dont_care_param(line->client_online, inet_ntoa(from->sin_addr));
  65. }
  66. break;
  67. - default:
  68. + default:;
  69. // uh... don't dial -> status would be incorrect
  70. }
  71. if ( who->status == CLT_ONLINE )