changeset 1555:5e54c7a2a394

[gaim-migrate @ 1565] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 10 Mar 2001 03:41:38 +0000
parents c3afde736a8a
children 22532a7e5fbf
files src/aim.c src/server.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/aim.c	Sat Mar 10 00:00:18 2001 +0000
+++ b/src/aim.c	Sat Mar 10 03:41:38 2001 +0000
@@ -408,7 +408,7 @@
 
 int main(int argc, char *argv[])
 {
-	char opt;
+	int opt;
 	int opt_acct = 0, opt_help = 0, opt_version = 0, opt_user = 0, opt_login = 0, do_login_ret = -1;
 	char *opt_user_arg = NULL, *opt_login_arg = NULL;
 
@@ -545,10 +545,8 @@
 			break;
 		case '?':
 		default:
-			/*
 			show_usage(1, argv[0]);
 			return 0;
-			*/
 			break;
 		}
 	}
--- a/src/server.c	Sat Mar 10 00:00:18 2001 +0000
+++ b/src/server.c	Sat Mar 10 03:41:38 2001 +0000
@@ -389,7 +389,7 @@
 
 
 
-	if (gc->away) {
+	if (gc->away && strlen(gc->away)) {
 		time_t t;
 		char *tmpmsg;
 		struct buddy *b = find_buddy(gc, name);