Commit 4e551d9a authored by Sergey Lyubka's avatar Sergey Lyubka

Copyright year changed to 2011. Fixed documentation string for mg_get_cookie()

parent 5edfe797
// Copyright (c) 2004-2009 Sergey Lyubka // Copyright (c) 2004-2011 Sergey Lyubka
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal // of this software and associated documentation files (the "Software"), to deal
......
// Copyright (c) 2004-2010 Sergey Lyubka // Copyright (c) 2004-2011 Sergey Lyubka
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal // of this software and associated documentation files (the "Software"), to deal
......
// Copyright (c) 2004-2010 Sergey Lyubka // Copyright (c) 2004-2011 Sergey Lyubka
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal // of this software and associated documentation files (the "Software"), to deal
...@@ -206,7 +206,7 @@ int mg_get_var(const char *data, size_t data_len, ...@@ -206,7 +206,7 @@ int mg_get_var(const char *data, size_t data_len,
// //
// Return: // Return:
// On success, value length. // On success, value length.
// On error, -1 (either "Cookie:" header is not present at all, or the // On error, 0 (either "Cookie:" header is not present at all, or the
// requested parameter is not found, or destination buffer is too small // requested parameter is not found, or destination buffer is too small
// to hold the value). // to hold the value).
int mg_get_cookie(const struct mg_connection *, int mg_get_cookie(const struct mg_connection *,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment