ii

git clone https://orangeshoelaces.net/git/ii.git

ebd28d7733b11dbc957e93b2931988311c51b052

Author: Anselm R. Garbe on 01/21/2006

Committer: Anselm R. Garbe on 01/21/2006

some stylistic changes

Stats

ii.c | 32 ++------
1 file changed, 9 insertions(+), 23 deletions(-)

Patch

diff --git a/ii.c b/ii.c
index fff9251..e73907a 100644
--- a/ii.c
+++ b/ii.c
@@ -1,6 +1,6 @@
 /*
- * (C)opyright MMV Anselm R. Garbe <garbeam at gmail dot com>
- *                 Nico Golde <nico at ngolde dot de>
+ * (C)opyright MMV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
+ * (C)opyright MMV-MMVI Nico Golde <nico at ngolde dot de>
  * See LICENSE file for license details.
  */
 
@@ -471,27 +471,13 @@ int main(int argc, char *argv[])
 
 	for(i = 1; (i + 1 < argc) && (argv[i][0] == '-'); i++) {
 		switch (argv[i][1]) {
-		case 'i':
-			snprintf(prefix,sizeof(prefix),"%s", argv[++i]);
-			break;
-		case 's':
-			host = argv[++i];
-			break;
-		case 'p':
-			port = atoi(argv[++i]);
-			break;
-		case 'n':
-			snprintf(nick,sizeof(nick),"%s", argv[++i]);
-			break;
-		case 'k':
-			key = argv[++i];
-			break;
-		case 'f':
-			fullname = argv[++i];
-			break;
-		default:
-			usage();
-			break;
+		case 'i': snprintf(prefix,sizeof(prefix),"%s", argv[++i]); break;
+		case 's': host = argv[++i]; break;
+		case 'p': port = atoi(argv[++i]); break;
+		case 'n': snprintf(nick,sizeof(nick),"%s", argv[++i]); break;
+		case 'k': key = argv[++i]; break;
+		case 'f': fullname = argv[++i]; break;
+		default: usage(); break;
 		}
 	}
 	irc = tcpopen(port);