Arduino Lib Help!.

is this part of the lib working?

GetAuthorizedSMS(byte position, char *phone_number, char *SMS_text, byte max_SMS_len,
byte first_authorized_pos, byte last_authorized_pos)

i made some modification like this.

if (1 == sms.GetAuthorizedSMS(1, n, smsbuffer, 100, 1, 1)) {
}

or

if (GETSMS_AUTH_SMS == gsm.GetAuthorizedSMS(1, n, smsbuffer, 100, 1, 1)) {

I would use

if(sms.GetAuthorizedSMS(1, n, smsbuffer, 100, 1, 1))
  {
  // success :)
  }
else
  {
  // failure :(
  }

or

byte retval = 0;
retval = sms.GetAuthorizedSMS(1, n, smsbuffer, 100, 1, 1);
if(retval)
  {
  // success :)
  }
else
  {
  // failure :(
  }