Differences From Artifact [ac8c536c98]:
- File
src/XMPPAuthenticator.m
— part of check-in
[cd21ff1157]
at
2018-11-05 22:30:18
on branch trunk
— Kill #ifdef HAVE_CONFIG_H
There no longer is an Xcode project for which it is needed. (user: js, size: 2062) [annotate] [blame] [check-ins using]
To Artifact [e84a1b1fd8]:
- File src/XMPPAuthenticator.m — part of check-in [9919057cb8] at 2021-04-29 00:06:23 on branch trunk — Adjust to ObjFW style (user: js, size: 2050) [annotate] [blame] [check-ins using]
1 2 | /* * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> | | | 1 2 3 4 5 6 7 8 9 10 | /* * Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de> * Copyright (c) 2016, 2021, Jonathan Schleifer <js@nil.im> * * https://heap.zone/objxmpp/ * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice is present in all copies. * |
︙ | ︙ | |||
27 28 29 30 31 32 33 | @implementation XMPPAuthenticator @synthesize authzid = _authzid, authcid = _authcid, password = _password; - (instancetype)initWithAuthcid: (OFString *)authcid password: (OFString *)password { | | < < | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | @implementation XMPPAuthenticator @synthesize authzid = _authzid, authcid = _authcid, password = _password; - (instancetype)initWithAuthcid: (OFString *)authcid password: (OFString *)password { return [self initWithAuthzid: nil authcid: authcid password: password]; } - (instancetype)initWithAuthzid: (OFString *)authzid authcid: (OFString *)authcid password: (OFString *)password { self = [super init]; |
︙ | ︙ |